Search in sources :

Example 1 with FirmwareModuleDataBuilder

use of org.opensmartgridplatform.adapter.ws.schema.core.firmwaremanagement.FirmwareModuleDataBuilder in project open-smart-grid-platform by OSGP.

the class FirmwareManagementMapperTest method mapsFirmwareModuleData.

@Test
public void mapsFirmwareModuleData() {
    final org.opensmartgridplatform.adapter.ws.schema.core.firmwaremanagement.FirmwareModuleData source = new FirmwareModuleDataBuilder().build();
    final FirmwareModuleData mappedValue = this.map(source);
    assertThat(this.mapper.map(source, FirmwareModuleData.class)).usingRecursiveComparison().isEqualTo(mappedValue);
}
Also used : FirmwareModuleData(org.opensmartgridplatform.domain.core.valueobjects.FirmwareModuleData) FirmwareModuleDataBuilder(org.opensmartgridplatform.adapter.ws.schema.core.firmwaremanagement.FirmwareModuleDataBuilder) Test(org.junit.jupiter.api.Test)

Aggregations

Test (org.junit.jupiter.api.Test)1 FirmwareModuleDataBuilder (org.opensmartgridplatform.adapter.ws.schema.core.firmwaremanagement.FirmwareModuleDataBuilder)1 FirmwareModuleData (org.opensmartgridplatform.domain.core.valueobjects.FirmwareModuleData)1