@Test
public void testGetAndSetInvalidFpp() {

    final double invalidFpp = ThreadLocalRandom.current().nextDouble(1, Long.MAX_VALUE);
    final TestingBloomFilterConfig config = new TestingBloomFilterConfig();
    assertThatThrownBy(() -> config.setFpp(invalidFpp))
            .isInstanceOf(BadParameterException.class)
            .hasMessageContaining("invalid parameter");
}