Search in sources :

Example 1 with GetConfigurationObjectResponseDto

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);
}
Also used : GetConfigurationObjectResponseDto(org.opensmartgridplatform.dto.valueobjects.smartmetering.GetConfigurationObjectResponseDto) GetConfigurationObjectResponse(org.opensmartgridplatform.domain.core.valueobjects.smartmetering.GetConfigurationObjectResponse) Test(org.junit.jupiter.api.Test)

Aggregations

Test (org.junit.jupiter.api.Test)1 GetConfigurationObjectResponse (org.opensmartgridplatform.domain.core.valueobjects.smartmetering.GetConfigurationObjectResponse)1 GetConfigurationObjectResponseDto (org.opensmartgridplatform.dto.valueobjects.smartmetering.GetConfigurationObjectResponseDto)1