Ray Milkey
Committed by Gerrit Code Review

Unit tests for applications REST APIs

Change-Id: I4e8360ca9b0ca9eafe1b226b648acfe2b0676caa
......@@ -46,7 +46,7 @@ public class ApplicationsWebResource extends AbstractWebResource {
@GET
@Path("{name}")
public Response getApplication(@PathParam("id") String name) {
public Response getApplication(@PathParam("name") String name) {
ApplicationAdminService service = get(ApplicationAdminService.class);
ApplicationId appId = service.getId(name);
return response(service, appId);
......
......@@ -23,7 +23,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Mock codec context for use in codec unit tests.
*/
public final class MockCodecContext implements CodecContext {
public class MockCodecContext implements CodecContext {
private ObjectMapper mapper = new ObjectMapper();
private CodecManager manager = new CodecManager();
......