@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof NiciraEncapEthDst) {
            NiciraEncapEthDst that = (NiciraEncapEthDst) obj;
            return Objects.equals(encapEthDst, that.encapEthDst);

        }
        return false;
    }
@Test
    public void testEquals() {
        final NiciraEncapEthDst encapEthDst1 = new NiciraEncapEthDst(mac1);
        final NiciraEncapEthDst sameAsEncapEthDst1 = new NiciraEncapEthDst(mac1);
        final NiciraEncapEthDst encapEthDst2 = new NiciraEncapEthDst(mac2);

        new EqualsTester().addEqualityGroup(encapEthDst1, sameAsEncapEthDst1).addEqualityGroup(encapEthDst2)
        .testEquals();
    }