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