@Test public void registersExampleResource() throws Exception { service.run(configuration, environment); verify(jerseyEnvironment).register(ExampleResource.class); }
@Override public void run(ExampleServiceConfiguration configuration, Environment environment) throws Exception { environment.jersey().register(ExampleResource.class); }
ExampleService extends Application<ExampleServiceConfiguration> { @Override public void run(ExampleServiceConfiguration configuration, Environment environment) throws Exception { environment.jersey().register(ExampleResource.class); } }
ExampleService extends Application<ExampleServiceConfiguration> { @Override public void run(ExampleServiceConfiguration configuration, Environment environment) throws Exception { environment.jersey().register(ExampleResource.class); }  }
ExampleService extends Application<ExampleServiceConfiguration> { @Override public void run(ExampleServiceConfiguration configuration, Environment environment) throws Exception { environment.jersey().register(ExampleResource.class); }  @Override String getName(); @Override void initialize(Bootstrap<ExampleServiceConfiguration> bootstrap); @Override void run(ExampleServiceConfiguration configuration,
			Environment environment); static void main(String[] args); }
ExampleService extends Application<ExampleServiceConfiguration> { @Override public void run(ExampleServiceConfiguration configuration, Environment environment) throws Exception { environment.jersey().register(ExampleResource.class); }  @Override String getName(); @Override void initialize(Bootstrap<ExampleServiceConfiguration> bootstrap); @Override void run(ExampleServiceConfiguration configuration,
			Environment environment); static void main(String[] args);  }