use of org.mapstruct.ap.test.selection.jaxb.underscores.SubType in project mapstruct by mapstruct.
the class UnderscoreSelectionTest method selectingUnderscorePropertiesWorks.
@ProcessorTest
public void selectingUnderscorePropertiesWorks() {
SubType target = UnderscoreMapper.INSTANCE.map(createSource());
assertThat(target.getInheritedUnderscore().getValue()).isEqualTo("hi");
assertThat(target.getDeclaredUnderscore().getValue()).isEqualTo("there");
}
Aggregations