Package de.cuioss.test.valueobjects.api
Interface TestContract<T>
- Type Parameters:
T
- identifying the type of objects to be tested
- All Known Implementing Classes:
BeanPropertyContractImpl
,BuilderContractImpl
,CopyConstructorContractImpl
,ObjectCreatorContractImpl
public interface TestContract<T>
A
TestContract
provides a method that again runs a number of asserts.- Author:
- Oliver Wolff
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks the concrete contract.
-
Method Details
-
assertContract
void assertContract()Checks the concrete contract. -
getInstantiator
- Returns:
- the underlying
ParameterizedInstantiator
-