@Test void jzonbieFailedRequestsCapacityCanBeSet() throws IOException { final Jzonbie jzonbie = new Jzonbie( options().withFailedRequestsCapacity(2) ); callJzonbieWithRequest(4, jzonbie, get("/"), ok().withBody(objectBody(singletonMap("key", "val"))), false); assertThat(jzonbie.getFailedRequests()).hasSize(2); }
@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();  }