@Test
public void testAccumulateAndCombine_exceptionOnIllegalWeight() {

    try {
        accumulator.accumulateSample(1.0, 11.98);
        fail("IllegalArgumentException expected");
    } catch (IllegalArgumentException expected) {
    }
}