CreateContainerTaskFactoryService extends FactoryService { @Override public Service createServiceInstance() { return new CreateContainerTaskService(); } CreateContainerTaskFactoryService(); @Override Service createServiceInstance(); static final String SELF_LINK; }
@Test public void testCreateServiceInstance() throws Throwable { Service service = createContainerTaskFactoryService.createServiceInstance(); assertThat(service, instanceOf(CreateContainerTaskService.class)); }