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