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