@Test public void getCloser() { ClientConnectionCloser closer = mock(ClientConnectionCloser.class); LeaseServiceConfiguration configuration = new LeaseServiceConfiguration(closer); assertEquals(closer, configuration.getClientConnectionCloser()); }
public ClientConnectionCloser getClientConnectionCloser() { return clientConnectionCloser; }
LeaseServiceConfiguration implements ServiceConfiguration<LeaseService> { public ClientConnectionCloser getClientConnectionCloser() { return clientConnectionCloser; } }
LeaseServiceConfiguration implements ServiceConfiguration<LeaseService> { public ClientConnectionCloser getClientConnectionCloser() { return clientConnectionCloser; } LeaseServiceConfiguration(ClientConnectionCloser clientConnectionCloser); }
LeaseServiceConfiguration implements ServiceConfiguration<LeaseService> { public ClientConnectionCloser getClientConnectionCloser() { return clientConnectionCloser; } LeaseServiceConfiguration(ClientConnectionCloser clientConnectionCloser); @Override Class<LeaseService> getServiceType(); ClientConnectionCloser getClientConnectionCloser(); }
LeaseServiceConfiguration implements ServiceConfiguration<LeaseService> { public ClientConnectionCloser getClientConnectionCloser() { return clientConnectionCloser; } LeaseServiceConfiguration(ClientConnectionCloser clientConnectionCloser); @Override Class<LeaseService> getServiceType(); ClientConnectionCloser getClientConnectionCloser();  }