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