public class PrimitiveCharArraySubject extends AbstractArraySubject<PrimitiveCharArraySubject,char[]>
char[]
.Subject.HasField
failureStrategy
Constructor and Description |
---|
PrimitiveCharArraySubject(FailureStrategy failureStrategy,
char[] o) |
Modifier and Type | Method and Description |
---|---|
ListSubject<?,Character,List<Character>> |
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<Character> |
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 PrimitiveCharArraySubject(FailureStrategy failureStrategy, char[] o)
protected String underlyingType()
underlyingType
in class AbstractArraySubject<PrimitiveCharArraySubject,char[]>
protected List<Character> listRepresentation()
listRepresentation
in class AbstractArraySubject<PrimitiveCharArraySubject,char[]>
public void isEqualTo(Object expected)
expected
is equal to each element
in the subject, and in the same position.isEqualTo
in class Subject<AbstractArraySubject<PrimitiveCharArraySubject,char[]>,char[]>
public void isNotEqualTo(Object expected)
isNotEqualTo
in class Subject<AbstractArraySubject<PrimitiveCharArraySubject,char[]>,char[]>
public ListSubject<?,Character,List<Character>> asList()
Copyright © 2016. All rights reserved.