-
- All Implemented Interfaces:
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 final ObjectgetExpected()final IntegergetActual()final HttpStatusgetStatusType()final List<Integer>getStatusCodes()Stringdescription()Stringdescription(TermColors t)final Map<String, Object>toMap()Stringtype()-
-
Method Detail
-
getExpected
final Object getExpected()
-
getStatusType
final HttpStatus getStatusType()
-
getStatusCodes
final List<Integer> getStatusCodes()
-
description
String description()
-
description
String description(TermColors t)
-
-
-
-