RestServiceImpl implements RestService { @Override public Response getTrackerOperationSources() { return Response.ok().entity( GSON.toJson( tracker.getTrackerOperationSources() ) ).build(); } RestServiceImpl( final Tracker tracker ); @Override Response getTrackerOperation( final String source, final String uuid ); @Override Response getTrackerOperations( final String source, final String fromDate, final String toDate,
                                          final int limit ); @Override Response getTrackerOperationSources();  }
@Test public void testGetProductOperationSources() throws Exception { Response response = restService.getTrackerOperationSources(); assertEquals( Response.Status.OK.getStatusCode(), response.getStatus() ); }