ReactorNettyLoggingHandler extends LoggingHandler { @Override public ByteBufFormat byteBufFormat() { throw new UnsupportedOperationException("ReactorNettyLoggingHandler isn't using the classic ByteBufFormat."); } ReactorNettyLoggingHandler(final String name, final LogLevel level, final Charset charset); @Override ByteBufFormat byteBufFormat();  }
@Test(expected = UnsupportedOperationException.class) public void shouldThrowUnsupportedOperationExceptionWhenByteBufFormatIsCalled() { defaultCharsetReactorNettyLoggingHandler.byteBufFormat(); }