public class PrimitiveCharArraySubject extends AbstractArraySubject<PrimitiveCharArraySubject,char[]>
char[]
.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<Character> |
listRepresentation()
Returns a List representation suitable for displaying in a string.
|
protected String |
underlyingType() |
getDisplaySubject, hasLength, isEmpty, isNotEmpty, named
check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getSubject, hashCode, internalCustomName, isAnyOf, isIn, isInstanceOf, isNoneOf, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs
protected String underlyingType()
protected List<Character> listRepresentation()
AbstractArraySubject
public void isEqualTo(Object expected)
expected
is equal to each element in the subject,
and in the same position.isEqualTo
in class Subject<PrimitiveCharArraySubject,char[]>
public void isNotEqualTo(Object expected)
Subject
Subject.isEqualTo(java.lang.Object)
method.isNotEqualTo
in class Subject<PrimitiveCharArraySubject,char[]>
public IterableSubject asList()
Copyright © 2016. All rights reserved.