-
public final class StatusMismatch extends Mismatch
-
-
Field Summary
Fields Modifier and Type Field Description private final Objectexpectedprivate final Integeractualprivate final HttpStatusstatusTypeprivate final List<Integer>statusCodes
-
Constructor Summary
Constructors Constructor Description StatusMismatch(Object expected, Integer actual, HttpStatus statusType, List<Integer> statusCodes)
-
Method Summary
Modifier and Type Method Description Stringdescription()Stringdescription(TermColors t)final Map<String, Object>toMap()Stringtype()final Objectcomponent1()final Integercomponent2()final HttpStatuscomponent3()final List<Integer>component4()final StatusMismatchcopy(Object expected, Integer actual, HttpStatus statusType, List<Integer> statusCodes)final ObjectgetExpected()final IntegergetActual()final HttpStatusgetStatusType()final List<Integer>getStatusCodes()-
-
Method Detail
-
description
String description()
-
description
String description(TermColors t)
-
component1
final Object component1()
-
component2
final Integer component2()
-
component3
final HttpStatus component3()
-
component4
final List<Integer> component4()
-
copy
final StatusMismatch copy(Object expected, Integer actual, HttpStatus statusType, List<Integer> statusCodes)
-
getExpected
final Object getExpected()
-
getStatusType
final HttpStatus getStatusType()
-
getStatusCodes
final List<Integer> getStatusCodes()
-
-
-
-