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