@Test public void testCreateServiceInstance() { Service service = upgradeAgentTaskFactoryService.createServiceInstance(); assertThat(service, instanceOf(UpgradeAgentTaskService.class)); }
@Override public Service createServiceInstance() { return new UpgradeAgentTaskService(); }
UpgradeAgentTaskFactoryService extends FactoryService { @Override public Service createServiceInstance() { return new UpgradeAgentTaskService(); } }
UpgradeAgentTaskFactoryService extends FactoryService { @Override public Service createServiceInstance() { return new UpgradeAgentTaskService(); } UpgradeAgentTaskFactoryService(); }
UpgradeAgentTaskFactoryService extends FactoryService { @Override public Service createServiceInstance() { return new UpgradeAgentTaskService(); } UpgradeAgentTaskFactoryService(); @Override Service createServiceInstance(); }
UpgradeAgentTaskFactoryService extends FactoryService { @Override public Service createServiceInstance() { return new UpgradeAgentTaskService(); } UpgradeAgentTaskFactoryService(); @Override Service createServiceInstance(); static final String SELF_LINK; }