ChangeHostModeTaskFactoryService extends FactoryService { public Service createServiceInstance() { return new ChangeHostModeTaskService(); } ChangeHostModeTaskFactoryService(); Service createServiceInstance(); static final String SELF_LINK; }
@Test public void testCreateServiceInstance() { Service service = changeHostModeTaskFactoryService.createServiceInstance(); assertThat(service, instanceOf(ChangeHostModeTaskService.class)); }