### Question:
FramedIPXNetworkAttribute extends Attribute { public byte[] getIPXNetworkAddress() { return net; } FramedIPXNetworkAttribute(byte[] octets);  FramedIPXNetworkAttribute(int msb, int msb2, int msb3, int msb4); byte[] getIPXNetworkAddress();  }### Answer:
@Test public void testFromOctets() { final byte [] testPacket = new byte[6]; testPacket[0] = (byte) AttributeType.FRAMED_IPX_NETWORK.getTypeCode(); testPacket[1] = 6; testPacket[2] = 5; testPacket[3] = 4; testPacket[4] = 3; testPacket[5] = 2; final FramedIPXNetworkAttribute testIPXpacket = new FramedIPXNetworkAttribute(testPacket); Assert.assertEquals(testIPXpacket.getIPXNetworkAddress()[0], 5); Assert.assertEquals(testIPXpacket.getIPXNetworkAddress()[1], 4); Assert.assertEquals(testIPXpacket.getIPXNetworkAddress()[2], 3); Assert.assertEquals(testIPXpacket.getIPXNetworkAddress()[3], 2); Assert.assertEquals(testIPXpacket.getOctets()[0], AttributeType.FRAMED_IPX_NETWORK.getTypeCode()); Assert.assertEquals(testIPXpacket.getOctets()[1], 6); Assert.assertEquals(testIPXpacket.getOctets()[2], 5); Assert.assertEquals(testIPXpacket.getOctets()[3], 4); Assert.assertEquals(testIPXpacket.getOctets()[4], 3); Assert.assertEquals(testIPXpacket.getOctets()[5], 2); }