Interface ListItemMatcher<O>


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

    Modifier and Type
    Method
    Description
    void
    match(int index, O expected, O actual)
    Specifies whether the list item matches.
  • Method Details

    • 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:
      AssertionError - If error in assertions.
      junit.framework.AssertionFailedError - If fails assertion.