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