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