### Question:
CommandComplete extends PGMessage { public static CommandComplete loadFromPacket(byte[] packet) { String tag = new PGProto(packet, 5).readNullStr(); return new CommandComplete(tag); } CommandComplete(String tag); String getTag(); long getRows(); void setTag(String tag); static CommandComplete loadFromPacket(byte[] packet); @Override String toString();  }### Answer:
@Test public void testLoadFromPacket() { String tag = "CommandComplelte"; CommandComplete cmdCpl = new CommandComplete(tag); byte[] bytes = cmdCpl.toPacket(); CommandComplete newCmdCpl = CommandComplete.loadFromPacket(bytes); assertEquals(newCmdCpl.toPacket(), bytes); assertEquals(newCmdCpl.getTag(), cmdCpl.getTag()); }