@Test
public void testSetChannelBufferSizeForFilterPersistence() {

    final Configuration c = new Configuration();
    assertThatThrownBy(() -> c.setChannelBufferSizeForFilterPersistence(-1))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("channelBufferSizeForFilterPersistence: -1 (expected: > 0)");
    assertThatThrownBy(() -> c.setChannelBufferSizeForFilterPersistence(0))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("channelBufferSizeForFilterPersistence: 0 (expected: > 0)");
}