Interface Tester<T>
- Type Parameters:
T- test subject type
- All Superinterfaces:
Consumer<T>
Test interface for marshalling validation.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
reject
Validates that the specified value is rejected by the tester.- Parameters:
value- an unmarshallable value
-
reject
Validates that an attempt to marshal the specified value throws the specified exception type.- Type Parameters:
E- the expected exception type- Parameters:
value- an unmarshallable valueexpected- the expected exception type
-