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