public abstract class AbstractArraySubject<S extends AbstractArraySubject<S,T>,T> extends Subject<S,T>
failureStrategy| Modifier and Type | Method and Description | 
|---|---|
protected String | 
actualCustomStringRepresentation()
Supplies the direct string representation of the actual value to other methods which may
 prefix or otherwise position it in an error message. 
 | 
void | 
hasLength(int length)
Fails if the array does not have the given length. 
 | 
void | 
isEmpty()
Fails if the array is not empty (i.e. 
 | 
void | 
isNotEmpty()
Fails if the array is empty (i.e. 
 | 
actual, actualAsString, check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hashCode, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, namedpublic void isEmpty()
array.length != 0).public void isNotEmpty()
array.length == 0).public void hasLength(int length)
IllegalArgumentException - if length < 0protected String actualCustomStringRepresentation()
SubjectSubjects should override this with care.
By default, this returns String.ValueOf(getActualValue()).
actualCustomStringRepresentation in class Subject<S extends AbstractArraySubject<S,T>,T>Copyright © 2016. All rights reserved.