@Override
    public NetworkId networkId() {
        return networkId;
    }
@Test
    public void testEquality() {
        DefaultVirtualHost host1 =
                new DefaultVirtualHost(NetworkId.networkId(0), HID1, MAC1, VLAN1, LOC1, IPSET1);
        DefaultVirtualHost host2 =
                new DefaultVirtualHost(NetworkId.networkId(0), HID1, MAC1, VLAN1, LOC1, IPSET1);
        DefaultVirtualHost host3 =
                new DefaultVirtualHost(NetworkId.networkId(0), HID2, MAC1, VLAN1, LOC1, IPSET1);
        DefaultVirtualHost host4 =
                new DefaultVirtualHost(NetworkId.networkId(1), HID2, MAC1, VLAN1, LOC1, IPSET1);

        new EqualsTester().addEqualityGroup(host1, host2).addEqualityGroup(host3)
                .addEqualityGroup(host4).testEquals();
    }