### Question:
Com_Initdb extends Packet { public static Com_Initdb loadFromPacket(byte[] packet) { Com_Initdb obj = new Com_Initdb(); Proto proto = new Proto(packet, 3); obj.sequenceId = proto.get_fixed_int(1); proto.get_filler(1); obj.schema = proto.get_eop_str(); return obj; }  ArrayList<byte[]> getPayload(); static Com_Initdb loadFromPacket(byte[] packet); public String schema; }### Answer:
@Test public void test1() { byte[] packet = Proto.packet_string_to_bytes("" + "05 00 00 00 02 74 65 73 74"); Com_Initdb pkt = Com_Initdb.loadFromPacket(packet); assertArrayEquals(packet, pkt.toPacket()); assertEquals(pkt.schema, "test"); }