public static VerificationMode times(final int count) {
        checkArgument(count >= 0, "Times count must not be less than zero");
        return new TimesVerification(count);
    }
@Test
    public void should_fail_to_verify_while_expectation_can_not_be_met() {
        httpServer(port(), hit);

        assertThrows(VerificationException.class, () ->
                hit.verify(by(uri("/foo")), times(1)));
    }