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_verify_expected_request_and_log_at_same_time() throws Exception {
        final HttpServer server = httpServer(port(), hit, log());
        server.get(by(uri("/foo"))).response("bar");

        running(server, () -> assertThat(helper.get(remoteUrl("/foo")), is("bar")));

        hit.verify(by(uri("/foo")), times(1));
    }