use of org.openkilda.northbound.dto.v1.flows.FlowValidationDto 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