public class PrimitiveLongArraySubject extends AbstractArraySubject<PrimitiveLongArraySubject,long[]>
int[]
.Subject.HasField
failureStrategy
Constructor and Description |
---|
PrimitiveLongArraySubject(FailureStrategy failureStrategy,
long[] o) |
Modifier and Type | Method and Description |
---|---|
ListSubject<?,Long,List<Long>> |
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) |
protected List<Long> |
listRepresentation() |
protected String |
underlyingType() |
failWithBadType, getDisplaySubject, named
check, equals, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getSubject, hasField, hashCode, internalCustomName, is, isA, isNotA, isNotNull, isNull, labeled
public PrimitiveLongArraySubject(FailureStrategy failureStrategy, long[] o)
protected String underlyingType()
underlyingType
in class AbstractArraySubject<PrimitiveLongArraySubject,long[]>
protected List<Long> listRepresentation()
listRepresentation
in class AbstractArraySubject<PrimitiveLongArraySubject,long[]>
public void isEqualTo(Object expected)
expected
is equal to each element
in the subject, and in the same position.isEqualTo
in class Subject<AbstractArraySubject<PrimitiveLongArraySubject,long[]>,long[]>
public void isNotEqualTo(Object expected)
isNotEqualTo
in class Subject<AbstractArraySubject<PrimitiveLongArraySubject,long[]>,long[]>
public ListSubject<?,Long,List<Long>> asList()
Copyright © 2015. All rights reserved.