use of org.openkilda.northbound.dto.v1.flows.PathDiscrepancyDto in project open-kilda by telstra.
the class JsonSerializationTest method pathDiscrepancyDtoTest.
@Test
public void pathDiscrepancyDtoTest() throws IOException {
PathDiscrepancyDto dto = new PathDiscrepancyDto("rule", "field", "expected", "actual");
assertEquals(dto, pass(dto, PathDiscrepancyDto.class));
}
use of org.openkilda.northbound.dto.v1.flows.PathDiscrepancyDto in project open-kilda by telstra.
the class JsonSerializationTest method flowValidationDtoTest.
@Test
public void flowValidationDtoTest() throws IOException {
PathDiscrepancyDto discrepancyDto = new PathDiscrepancyDto("rule", "field", "expected", "actual");
FlowValidationDto dto = new FlowValidationDto(FLOW_ID, true, singletonList(0L), singletonList(1L), singletonList(discrepancyDto), 10, 11, 2, 4, true, true);
assertEquals(dto, pass(dto, FlowValidationDto.class));
}
Aggregations