Interface ListItemMatcher<O>


  • public interface ListItemMatcher<O>
    Matches a list item.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • match

        void match​(int index,
                   O expected,
                   O actual)
        Specifies whether the list item matches.
        Parameters:
        index - Index of item within the list.
        expected - Expected value.
        actual - Actual value.
        Throws:
        java.lang.AssertionError - If error in assertions.
        junit.framework.AssertionFailedError - If fails assertion.