    @Test
    public void calculateMetrics() {

        this.cut.lastSuccess = 10;
        this.cut.success.set(40);
        this.cut.calculateMetrics();
        assertThat(this.cut.successesPerSecond,is(3d));
        assertThat(this.cut.lastSuccess,is(this.cut.success.longValue()));
    }