use of org.openkilda.model.FlowMirrorPoints in project open-kilda by telstra.
the class FermaFlowMirrorPointsRepositoryTest method shouldFindByDestEndpoint.
@Test
public void shouldFindByDestEndpoint() {
createFlowPathWithFlowMirrorPoints();
FlowMirrorPoints flowMirrorPoints = flowMirrorPointsRepository.findByPathIdAndSwitchId(TEST_PATH_ID, switchA.getSwitchId()).get();
assertEquals(switchA.getSwitchId(), flowMirrorPoints.getMirrorSwitch().getSwitchId());
}
Aggregations