ChangeCipherSpecHandler extends ProtocolMessageHandler<ChangeCipherSpecMessage> { @Override public ChangeCipherSpecParser getParser(byte[] message, int pointer) { return new ChangeCipherSpecParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } ChangeCipherSpecHandler(TlsContext tlsContext); @Override ChangeCipherSpecParser getParser(byte[] message, int pointer); @Override ChangeCipherSpecPreparator getPreparator(ChangeCipherSpecMessage message); @Override ChangeCipherSpecSerializer getSerializer(ChangeCipherSpecMessage message); @Override void adjustTLSContext(ChangeCipherSpecMessage message); @Override void adjustTlsContextAfterSerialize(ChangeCipherSpecMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof ChangeCipherSpecParser); }