@Test
public void decodeBuffered() throws Exception {

    OptionalSslHandler handler = new OptionalSslHandler(sslContext);
    final ByteBuf payload = Unpooled.wrappedBuffer(new byte[] { 22, 3 });
    try {
        handler.decode(context, payload, null);
        verifyZeroInteractions(pipeline);
    } finally {
        payload.release();
    }
}