Class Then
- java.lang.Object
-
- de.quantummaid.mapmaid.testsupport.givenwhenthen.Then
-
public final class Then extends Object
-
-
Constructor Summary
Constructors Constructor Description Then()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThenanAggregatedExceptionHasBeenThrownWithNumberOfErrors(int numberOfErrors)ThenanExceptionIsThrownWithAMessageContaining(String message)ThennoExceptionHasBeenThrown()ThentheDefinitionsContainExactlyTheCustomPrimitives(Class<?>... types)ThentheDefinitionsContainExactlyTheSerializedObjects(Class<?>... types)<T> ThentheDeserialiedObjectHas(Class<T> type, Predicate<T> predicate)ThentheDeserializedObjectIs(Object expected)static Thenthen(ThenData thenData)ThentheSerializationResultWas(String serialized)
-
-
-
Method Detail
-
theDeserialiedObjectHas
public <T> Then theDeserialiedObjectHas(Class<T> type, Predicate<T> predicate)
-
anExceptionIsThrownWithAMessageContaining
public Then anExceptionIsThrownWithAMessageContaining(String message)
-
noExceptionHasBeenThrown
public Then noExceptionHasBeenThrown()
-
anAggregatedExceptionHasBeenThrownWithNumberOfErrors
public Then anAggregatedExceptionHasBeenThrownWithNumberOfErrors(int numberOfErrors)
-
theDefinitionsContainExactlyTheCustomPrimitives
public Then theDefinitionsContainExactlyTheCustomPrimitives(Class<?>... types)
-
theDefinitionsContainExactlyTheSerializedObjects
public Then theDefinitionsContainExactlyTheSerializedObjects(Class<?>... types)
-
-