### Question:
Com_Quit extends Packet { public static Com_Quit loadFromPacket(byte[] packet) { Com_Quit obj = new Com_Quit(); Proto proto = new Proto(packet, 3); obj.sequenceId = proto.get_fixed_int(1); proto.get_filler(1); return obj; }  ArrayList<byte[]> getPayload(); static Com_Quit loadFromPacket(byte[] packet); static byte[] getQuitPacketBytes();  }### Answer:
@Test public void test1() { byte[] packet = Proto.packet_string_to_bytes("" + "01 00 00 00 01"); Com_Quit pkt = Com_Quit.loadFromPacket(packet); assertArrayEquals(packet, pkt.toPacket()); }