@Test
public void testSetIdleTimeoutMillis() {

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