use of org.opensmartgridplatform.dto.valueobjects.smartmetering.GetConfigurationObjectResponseDto in project open-smart-grid-platform by OSGP.
the class GetConfigurationObjectResponseMappingTest method testMapGetConfigurationObjectResponseDto.
@Test
public void testMapGetConfigurationObjectResponseDto() {
final GetConfigurationObjectResponseDto dto = this.makeGetConfigurationObjectResponseDto();
final GetConfigurationObjectResponse result = this.mapper.map(dto, GetConfigurationObjectResponse.class);
assertThat(result).withFailMessage("mapping GetConfigurationObjectResponseDto should not return null").isNotNull();
assertThat(result).withFailMessage("mapping GetConfigurationObjectResponseDto should return correct type").isOfAnyClassIn(GetConfigurationObjectResponse.class);
}
Aggregations