use of org.mapstruct.ap.test.bugs._2195.dto.TargetBase in project mapstruct by mapstruct.
the class Issue2195Test method test.
@ProcessorTest
@WithClasses(Issue2195Mapper.class)
public void test() {
Source source = new Source();
source.setName("JohnDoe");
TargetBase target = Issue2195Mapper.INSTANCE.map(source);
assertThat(target).isInstanceOf(Target.class);
}
Aggregations