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