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