Search in sources :

Example 1 with BossDto

use of org.mapstruct.ap.test.updatemethods.BossDto in project mapstruct by mapstruct.

the class ExternalSelectionTest method shouldSelectGeneratedExternalMapperWithImportForPropertyType.

@ProcessorTest
@WithClasses({ OrganizationMapper3.class })
@IssueKey("604")
public void shouldSelectGeneratedExternalMapperWithImportForPropertyType() {
    generatedSource.addComparisonToFixtureFor(OrganizationMapper3.class);
    BossEntity entity = new BossEntity();
    BossDto dto = new BossDto();
    OrganizationMapper3.INSTANCE.toBossEntity(dto, entity);
}
Also used : BossEntity(org.mapstruct.ap.test.updatemethods.BossEntity) BossDto(org.mapstruct.ap.test.updatemethods.BossDto) IssueKey(org.mapstruct.ap.testutil.IssueKey) ProcessorTest(org.mapstruct.ap.testutil.ProcessorTest) WithClasses(org.mapstruct.ap.testutil.WithClasses)

Aggregations

BossDto (org.mapstruct.ap.test.updatemethods.BossDto)1 BossEntity (org.mapstruct.ap.test.updatemethods.BossEntity)1 IssueKey (org.mapstruct.ap.testutil.IssueKey)1 ProcessorTest (org.mapstruct.ap.testutil.ProcessorTest)1 WithClasses (org.mapstruct.ap.testutil.WithClasses)1