### Question:
HandshakeHandler extends Handler { @Override protected int getMaxPacketSize() { return PACKETS.HANDSHAKE_OPEN.maxSize(); } HandshakeHandler(); @Override Packet runPacketParser(PacketBuffer packetBuffer, Session session, PACKETS expecting); @Override CONNECTION_PHASE handlePacket(PacketBuffer packetBuffer, Session session);  }### Answer:
@Test public void testGetMaxPacketSize() throws Exception { assertEquals(PACKETS.HANDSHAKE_OPEN.maxSize(), handler.getMaxPacketSize()); }