@Test void getFailedRequestReturnsRequestForWhichThereIsNoPriming(Jzonbie jzonbie) throws Exception { client.execute(httpRequest); final AppRequest expectedRequest = get("/"); final List<AppRequest> got = jzonbie.getFailedRequests(); assertThat(got).hasSize(1); assertThat(expectedRequest.matches(got.get(0))).isTrue(); }
@Override public List<AppRequest> getFailedRequests() { return failedRequests.getValues(); }
Jzonbie implements JzonbieClient { @Override public List<AppRequest> getFailedRequests() { return failedRequests.getValues(); } }
Jzonbie implements JzonbieClient { @Override public List<AppRequest> getFailedRequests() { return failedRequests.getValues(); } Jzonbie();  Jzonbie(JzonbieOptions options); }
Jzonbie implements JzonbieClient { @Override public List<AppRequest> getFailedRequests() { return failedRequests.getValues(); } Jzonbie();  Jzonbie(JzonbieOptions options); int getHttpPort(); int getHttpsPort(); @Override KeyStore getTruststore(); @Override void prime(AppRequest request, AppResponse response); @Override void prime(File file); @Override void prime(AppRequest request, DefaultAppResponse defaultAppResponse); @Override List<PrimedMapping> getCurrentPriming(); @Override List<Exchange> getHistory(); @Override List<AppRequest> getFailedRequests(); @Override void verify(AppRequest request, InvocationVerificationCriteria criteria); @Override void reset(); void stop(); }
Jzonbie implements JzonbieClient { @Override public List<AppRequest> getFailedRequests() { return failedRequests.getValues(); } Jzonbie();  Jzonbie(JzonbieOptions options); int getHttpPort(); int getHttpsPort(); @Override KeyStore getTruststore(); @Override void prime(AppRequest request, AppResponse response); @Override void prime(File file); @Override void prime(AppRequest request, DefaultAppResponse defaultAppResponse); @Override List<PrimedMapping> getCurrentPriming(); @Override List<Exchange> getHistory(); @Override List<AppRequest> getFailedRequests(); @Override void verify(AppRequest request, InvocationVerificationCriteria criteria); @Override void reset(); void stop();  }