Class MapperTest<M extends Function<S,T>,S,T>

java.lang.Object
de.cuioss.test.valueobjects.MapperTest<M,S,T>
Type Parameters:
M - Mapper: The type of the Mapper
S - Source: The type of the source-Objects to be mapped from
T - Target: The type of the source-Objects to be mapped to
All Implemented Interfaces:
TestObjectProvider<M>, GeneratorRegistry

public class MapperTest<M extends Function<S,T>,S,T> extends Object implements GeneratorRegistry, TestObjectProvider<M>
Allows to test a mapper implementing a Function to map a (pseudo-)DTO object based on whatever technology (FHIR, ...) to a DTO object. The actual test-method is verifyMapper(). The mapper-test-configuration is defined with VerifyMapperConfiguration For simple uses-case, like well designed beans there is no special configuration needed
Author:
Oliver Wolff