public CumulativeLatencies plus(CumulativeLatencies toAdd) {
        CumulativeLatencies result = new CumulativeLatencies();

        result.publishLatency.add(this.publishLatency);
        result.publishDelayLatency.add(this.publishDelayLatency);
        result.endToEndLatency.add(this.endToEndLatency);

        result.publishLatency.add(toAdd.publishLatency);
        result.publishDelayLatency.add(toAdd.publishDelayLatency);
        result.endToEndLatency.add(toAdd.endToEndLatency);

        return result;
    }
@Test
    void zeroPlus() {
        CumulativeLatencies one = new CumulativeLatencies();
        CumulativeLatencies two = new CumulativeLatencies();
        CumulativeLatencies result = one.plus(two);
        assertThat(result)
                .satisfies(
                        r -> {
                            assertThat(r.publishLatency).isEqualTo(two.publishLatency);
                            assertThat(r.publishDelayLatency).isEqualTo(two.publishDelayLatency);
                            assertThat(r.endToEndLatency).isEqualTo(two.endToEndLatency);
                        });
    }