use of org.mapstruct.ap.test.imports.innerclasses.TargetWithInnerClass.TargetInnerClass.TargetInnerInnerClass in project mapstruct by mapstruct.
the class InnerClassesImportsTest method mapperRequiresInnerInnerClassImports.
@ProcessorTest
@IssueKey("412")
public void mapperRequiresInnerInnerClassImports() {
SourceInnerClass source = new SourceInnerClass();
source.setValue(412);
TargetInnerInnerClass target = InnerClassMapper.INSTANCE.innerSourceToInnerInnerTarget(source);
assertThat(target).isNotNull();
assertThat(target.getValue()).isEqualTo(412);
generatedSource.addComparisonToFixtureFor(InnerClassMapper.class);
}
Aggregations