use of org.mapstruct.ap.test.bugs._1801.dto.ItemDTO in project mapstruct by mapstruct.
the class Issue1801Test method shouldIncludeBuildeType.
@ProcessorTest
public void shouldIncludeBuildeType() {
ItemDTO item = ImmutableItemDTO.builder().id("test").build();
Item target = ItemMapper.INSTANCE.map(item);
assertThat(target).isNotNull();
assertThat(target.getId()).isEqualTo("test");
}
use of org.mapstruct.ap.test.bugs._1801.dto.ItemDTO in project mapstruct by mapstruct.
the class Issue1596Test method shouldIncludeBuildType.
@ProcessorTest
public void shouldIncludeBuildType() {
ItemDTO item = ImmutableItemDTO.builder().id("test").build();
Item target = ItemMapper.INSTANCE.map(item);
assertThat(target).isNotNull();
assertThat(target.getId()).isEqualTo("test");
}
Aggregations