Annotation Interface VerifyObjectTestContract
@Retention(RUNTIME)
@Target(TYPE)
@Repeatable(VerifyObjectTestContracts.class)
public @interface VerifyObjectTestContract
In contrast to
VetoObjectTestContract
that is designed for cases
where the tests run all ObjectTestConfig
, e.g. ValueObjectTest this
annotation is for opt-in cases. As default all ObjectTestContract
s
will be run if this annotation is present, but you can Veto the individual
contracts- Author:
- Oliver Wolff
-
Optional Element Summary
Optional Elements
-
Element Details
-
veto
- Returns:
- the concrete contract to be vetoed
- Default:
- {}
-