S - used to simulate "self types." For more information please read "Emulating 'self types' using Java Generics to simplify fluent API implementation."A - the type the "actual" value.public abstract class ArrayAssert<S,A> extends ItemGroupAssert<S,A>
actual, myself| Modifier | Constructor and Description |
|---|---|
protected |
ArrayAssert(Class<S> selfType,
A actual)
Creates a new
ArrayAssert. |
| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
actualAsList()
Returns the actual value as a
List. |
protected Set<Object> |
actualAsSet()
Returns the actual value as a
Set. |
protected int |
actualGroupSize()
Returns the size of the actual array.
|
assertContains, assertContainsOnly, assertDoesNotHaveDuplicates, assertExcludes, validateIsNotNullhasSize, isEmpty, isNotEmpty, isNullOrEmptyas, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfiescustomErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWithprotected ArrayAssert(Class<S> selfType, A actual)
ArrayAssert.selfType - the "self type."actual - the target to verify.protected final int actualGroupSize()
actualGroupSize in class GroupAssert<S,A>NullPointerException - if the actual array is null.protected Set<Object> actualAsSet()
Set.actualAsSet in class ItemGroupAssert<S,A>Set.protected List<Object> actualAsList()
List.actualAsList in class ItemGroupAssert<S,A>List.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.