Interface Tester<T>
- Type Parameters:
T- test subject type
- All Superinterfaces:
Consumer<T>, Function<T,T>, UnaryOperator<T>
Test interface for marshalling validation.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidvoidValidates that the specified value is rejected by the tester.<E extends Throwable>
voidValidates that an attempt to marshal the specified value throws the specified exception type.
-
Method Details
-
accept
-
reject
Validates that the specified value is rejected by the tester.- Parameters:
value- an unmarshallable value
-
reject
-