@Test
public void testSetDefaultFalsePositiveProbability() {

    final Configuration c = new Configuration();
    assertThatThrownBy(() -> c.setDefaultFalsePositiveProbability(-1.0))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("defaultFalsePositiveProbability: -1.0 (expected between 0 and 1 exclusive)");
    assertThatThrownBy(() -> c.setDefaultFalsePositiveProbability(0))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("defaultFalsePositiveProbability: 0.0 (expected between 0 and 1 exclusive)");
    assertThatThrownBy(() -> c.setDefaultFalsePositiveProbability(1))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("defaultFalsePositiveProbability: 1.0 (expected between 0 and 1 exclusive)");
    assertThatThrownBy(() -> c.setDefaultFalsePositiveProbability(1.1))
            .isInstanceOf(IllegalArgumentException.class)
            .hasMessage("defaultFalsePositiveProbability: 1.1 (expected between 0 and 1 exclusive)");
}