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