@Test public void testCreated() { final Response created = BaseResource.created(); assertEquals(Response.Status.CREATED.getStatusCode(), created.getStatus()); }
protected static Response created() { return Response.status(Response.Status.CREATED).build(); }
BaseResource { protected static Response created() { return Response.status(Response.Status.CREATED).build(); } }
BaseResource { protected static Response created() { return Response.status(Response.Status.CREATED).build(); }  }
BaseResource { protected static Response created() { return Response.status(Response.Status.CREATED).build(); }   }
BaseResource { protected static Response created() { return Response.status(Response.Status.CREATED).build(); }    }