### Question:
MacAddress { public MacAddress to16BitMacAddress() { byte[] result = new byte[LENGTH]; int offset = LENGTH - 2; System.arraycopy(array, offset, result, offset, 2); return new MacAddress(result); } MacAddress(final long macAddress);  MacAddress(final byte[] macAddress);  MacAddress(final String macAddress); byte[] toByteArray(); long toLong(); @Override String toString(); String toHexString(); String toDecString(); String toBinString(); MacAddress to16BitMacAddress(); @Override boolean equals(final Object o); @Override int hashCode(); static final MacAddress HIGHEST_MAC_ADDRESS; static final MacAddress LOWEST_MAC_ADDRESS; }### Answer:
@Test public void to16BitMacAddressTest() { assertEquals(new MacAddress(MAC_BYTES_16_BIT), new MacAddress(MAC_BYTES).to16BitMacAddress()); assertEquals(new MacAddress(MAC_BYTES_16_BIT), new MacAddress(MAC_HEX_STRING).to16BitMacAddress()); assertEquals(new MacAddress(MAC_BYTES_16_BIT), new MacAddress(MAC_DEC_STRING).to16BitMacAddress()); assertEquals(new MacAddress(MAC_BYTES_16_BIT), new MacAddress(MAC_BIN_STRING).to16BitMacAddress()); }