### Question:
Close extends Describe { public static Close loadFromPacket(byte[] packet) { PGProto proto = new PGProto(packet, 5); byte describe = proto.readByte(); String statement = proto.readNullStr(); return new Close(describe, statement); } Close(byte describe);  Close(byte describe, String statement); static Close loadFromPacket(byte[] packet); @Override String toString();  }### Answer:
@Test public void testLoadFromPacket() { byte describe = Close.PREPARE_STATEMENT; String statement = "py:0x1023d39b0"; Close close = new Close(describe, statement); byte[] bytes = close.toPacket(); Close newClose = Close.loadFromPacket(bytes); assertEquals(newClose.toPacket(), bytes); assertEquals(newClose.describe, describe); assertEquals(newClose.getStatement(), statement); }