Package net.officefloor.frame.test
Interface ListItemMatcher<O>
-
public interface ListItemMatcher<O>
Matches a list item.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
match(int index, O expected, O actual)
Specifies whether the list item matches.
-
-
-
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.
-
-