|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IndexedObjectEnumerableAssert
Assertions methods applicable to indexed groups of objects (e.g. arrays or lists.)
| Method Summary | |
|---|---|
IndexedObjectEnumerableAssert |
contains(Object value,
Index index)
Verifies that the actual group contains the given object at the given index. |
IndexedObjectEnumerableAssert |
doesNotContain(Object value,
Index index)
Verifies that the actual group does not contain the given object at the given index. |
| Method Detail |
|---|
IndexedObjectEnumerableAssert contains(Object value,
Index index)
value - the object to look for.index - the index where the object should be stored in the actual group.
AssertionError - if the actual group is null or empty.
NullPointerException - if the given Index is null.
IndexOutOfBoundsException - if the value of the given Index is equal to or greater than the size of
the actual group.
AssertionError - if the actual group does not contain the given object at the given index.
IndexedObjectEnumerableAssert doesNotContain(Object value,
Index index)
value - the object to look for.index - the index where the object should be stored in the actual group.
AssertionError - if the actual group is null.
NullPointerException - if the given Index is null.
AssertionError - if the actual group contains the given object at the given index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||