@Test
public void testPort() throws Exception {

    Port port = new Port("name", "networkId", "tenantId", "deviceOwner", "portId");
    Port port2 = new Port("name2", "networkId", "tenantId", "deviceOwner", "2");
    assertEquals(port.getName(), "name");
    assertEquals(port.getNetworkId(), "networkId");
    assertEquals(port.equals(port2), false);
}