public FlowTest() {
}
@Before
public void setUp() throws java.lang.Exception {
device1 = new Device(InetAddress.getByName("192.168.0.1"), new EthernetAddress("00:11:D8:0C:25:11"));
device2 = new Device(InetAddress.getByName("10.1.2.3"), new EthernetAddress("00:11:D8:0C:25:22"));
device3 = new Device(InetAddress.getByName("192.168.0.1"), new EthernetAddress("00:11:D8:0C:25:11"));
device4 = new Device(InetAddress.getByName("10.1.2.3"), new EthernetAddress("00:11:D8:0C:25:22"));
device5 = new Device(InetAddress.getByName("102.168.0.2"), new EthernetAddress("00:11:D8:0C:25:22"));
flow1 = new Flow(1115641185, device1, device2, 2048, 6, 1025, 80, 100);
flow2 = new Flow(1115641188, device3, device4, 2048, 6, 1025, 80, 200);
flow3 = new Flow(1115641188, device1, device5, 2048, 6, 1025, 80, 300);