@Test public void testCreateServiceInstance() throws Throwable { Service service = factory.createServiceInstance(); assertThat(service, is(notNullValue())); assertThat(service, instanceOf(ResourceTicketService.class)); }
@Override public Service createServiceInstance() throws Throwable { return new ResourceTicketService(); }
ResourceTicketServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ResourceTicketService(); } }
ResourceTicketServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ResourceTicketService(); } ResourceTicketServiceFactory(); }
ResourceTicketServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ResourceTicketService(); } ResourceTicketServiceFactory(); @Override Service createServiceInstance(); @Override void handleStop(Operation stop); @Override void handleDelete(Operation delete); }
ResourceTicketServiceFactory extends FactoryService { @Override public Service createServiceInstance() throws Throwable { return new ResourceTicketService(); } ResourceTicketServiceFactory(); @Override Service createServiceInstance(); @Override void handleStop(Operation stop); @Override void handleDelete(Operation delete); static final String SELF_LINK; }