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