Interface ObjectTestContract
- All Known Implementing Classes:
EqualsAndHashcodeContractImpl
,SerializableContractImpl
,ToStringContractImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An
ObjectTestContract
provides a method that again runs a number of
asserts regarding the canonical Object
method.- Author:
- Oliver Wolff
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertContract
(ParameterizedInstantiator<?> instantiator, ObjectTestConfig objectTestConfig) Checks the concrete contract.