Search in sources :

Example 1 with UnderMaintenanceDto

use of org.openkilda.northbound.dto.v1.switches.UnderMaintenanceDto in project open-kilda by telstra.

the class JsonSerializationTest method switchUnderMaintenanceDtoTest.

@Test
public void switchUnderMaintenanceDtoTest() throws IOException {
    UnderMaintenanceDto dto = new UnderMaintenanceDto(false, false);
    assertEquals(dto, pass(dto, UnderMaintenanceDto.class));
}
Also used : UnderMaintenanceDto(org.openkilda.northbound.dto.v1.switches.UnderMaintenanceDto) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 UnderMaintenanceDto (org.openkilda.northbound.dto.v1.switches.UnderMaintenanceDto)1