Package de.cuioss.test.valueobjects.contract
package de.cuioss.test.valueobjects.contract
Provides implementations for the contracts defined at
de.cuioss.test.valueobjects.api.contracts
and
ObjectTestContracts
-
ClassesClassDescriptionTests all given properties according to the given List of
PropertyMetadata
Defines basic tests for builder.Helper class handling the registration ofTestContract
sTestContract for dealing Constructor and factories,VerifyConstructor
andVerifyFactoryMethod
respectivelyHelper class providing base functionality for test for theObject.equals(Object)
andObject.hashCode()
variants of classes.MapperContractImpl<S,T> Defines tests for MapperTestContract for dealing Constructor and factories,VerifyConstructor
andVerifyFactoryMethod
respectivelySimple Helper for reflection-api.Tests whether the object in hand implementsSerializable
and than serializes / deserializes the object, and compares the newly created object with the original by usingObject.equals(Object)
Checks whether the object in hand implementsObject.toString()
and calls it will fully populated object.