*/
public void assertMatches() {
MatchingStrategyTestSupport tester = new MatchingStrategyTestSupport(MatchingStrategies.LOOSE);
tester.match(A.class, "a").$(C.class, "c").to("aa", "bb", "c").assertMatch();
tester.match(D.class, "d").$(E.class, "e").to("aa", "dd", "e").assertMatch();
tester.match(D.class, "d").$(E.class, "e").$(F.class, "f").to("aa", "dd", "f").assertMatch();
tester.match(G.class, "g").to("aa", "dd", "g").assertMatch();
}
public void shouldValidate() {
modelMapper.getTypeMap(Entity.class, DTO.class);