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