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