public final class PrimitiveLongArraySubject extends AbstractArraySubject<PrimitiveLongArraySubject,long[]>
long[].failureStrategy| Modifier and Type | Method and Description |
|---|---|
IterableSubject |
asList() |
void |
isEqualTo(Object expected)
A proposition that the provided Object[] is an array of the same length and type, and contains
elements such that each element in
expected is equal to each element in the subject,
and in the same position. |
void |
isNotEqualTo(Object expected)
Fails if the subject is equal to the given object.
|
protected List<Long> |
listRepresentation()
Returns a List representation suitable for displaying in a string.
|
protected String |
underlyingType() |
actualCustomStringRepresentation, hasLength, isEmpty, isNotEmptyactual, actualAsString, check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hashCode, internalCustomName, isAnyOf, isIn, isInstanceOf, isNoneOf, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, namedprotected String underlyingType()
protected List<Long> listRepresentation()
AbstractArraySubjectpublic void isEqualTo(Object expected)
expected is equal to each element in the subject,
and in the same position.isEqualTo in class Subject<PrimitiveLongArraySubject,long[]>public void isNotEqualTo(Object expected)
SubjectSubject.isEqualTo(java.lang.Object) method.isNotEqualTo in class Subject<PrimitiveLongArraySubject,long[]>public IterableSubject asList()
Copyright © 2016. All rights reserved.