@Test public void testGetRetries() { given(config.getRetries()).willReturn(2); then(rest.getRetries()).isEqualTo(2); }
@Override public int getRetries() { return configuration.getRetries(); }
DefaultRestEndPoint implements RestEndPoint { @Override public int getRetries() { return configuration.getRetries(); } }
DefaultRestEndPoint implements RestEndPoint { @Override public int getRetries() { return configuration.getRetries(); } @Inject  DefaultRestEndPoint(RestEndPoint.Configuration configuration); }
DefaultRestEndPoint implements RestEndPoint { @Override public int getRetries() { return configuration.getRetries(); } @Inject  DefaultRestEndPoint(RestEndPoint.Configuration configuration); @Override URI getRestEndPointURI(); @Override Boolean useProxy(); @Override int getRetries(); @Override RetryPolicy getRetryPolicy(); }
DefaultRestEndPoint implements RestEndPoint { @Override public int getRetries() { return configuration.getRetries(); } @Inject  DefaultRestEndPoint(RestEndPoint.Configuration configuration); @Override URI getRestEndPointURI(); @Override Boolean useProxy(); @Override int getRetries(); @Override RetryPolicy getRetryPolicy();  }