@Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }

        if (!(o instanceof MacAddress)) {
            return false;
        }

        final MacAddress other = (MacAddress) o;
        return Arrays.equals(this.address, other.address);
    }
@Test
    public void testEquals() throws Exception {
        assertTrue(MAC_ONOS.equals(MAC_ONOS));
        assertFalse(MAC_ONOS.equals(MAC_ONOS_STR));
        assertTrue(MAC_ONOS.equals(MAC_ONOS_EQUAL));
        assertFalse(MAC_ONOS.equals(MAC_NORMAL));
        assertFalse(MAC_ONOS.equals(MAC_BCAST));
        assertFalse(MAC_ONOS.equals(MAC_MCAST));
        assertFalse(MAC_ONOS.equals(MAC_MCAST_2));
        assertFalse(MAC_ONOS.equals(MAC_LLDP));
        assertFalse(MAC_ONOS.equals(MAC_LLDP_2));
        assertFalse(MAC_ONOS.equals(MAC_LLDP_3));
    }