use of org.openkilda.model.FlowMeter in project open-kilda by telstra.
the class FermaFlowMeterRepositoryTest method shouldCreateFlowMeter.
@Test
public void shouldCreateFlowMeter() {
createFlowMeter();
Collection<FlowMeter> allMeters = flowMeterRepository.findAll();
FlowMeter foundMeter = allMeters.iterator().next();
assertEquals(theSwitch.getSwitchId(), foundMeter.getSwitchId());
assertEquals(TEST_FLOW_ID, foundMeter.getFlowId());
}
Aggregations