@Test public void testCreateServiceInstance() throws Throwable { Service service = factory.createServiceInstance(); assertThat(service, is(notNullValue())); assertThat(service, instanceOf(ImageReplicatorService.class)); }
@Override public Service createServiceInstance() throws Throwable { return new ImageReplicatorService(); }
ImageReplicatorServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ImageReplicatorService(); } }
ImageReplicatorServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ImageReplicatorService(); } ImageReplicatorServiceFactory(); }
ImageReplicatorServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ImageReplicatorService(); } ImageReplicatorServiceFactory(); @Override Service createServiceInstance(); }
ImageReplicatorServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ImageReplicatorService(); } ImageReplicatorServiceFactory(); @Override Service createServiceInstance(); static final String SELF_LINK; }