@Test(expectedExceptions = IllegalArgumentException.class) public void generateCustomResponseWithSelfLinkMissingRequest() { generateCustomResponse(Response.Status.OK, new BaseSerializationTest.ConcreteBase(), null, "linkTemplate"); }
public static Response generateCustomResponse(Response.Status responseStatus, Base entity) { return generateCustomResponse(responseStatus, entity, null, null); }
Responses { public static Response generateCustomResponse(Response.Status responseStatus, Base entity) { return generateCustomResponse(responseStatus, entity, null, null); } }
Responses { public static Response generateCustomResponse(Response.Status responseStatus, Base entity) { return generateCustomResponse(responseStatus, entity, null, null); }  }
Responses { public static Response generateCustomResponse(Response.Status responseStatus, Base entity) { return generateCustomResponse(responseStatus, entity, null, null); }  static Response generateCustomResponse(Response.Status responseStatus, Base entity); static Response generateCustomResponse(Response.Status responseStatus, Base entity,
                                                ContainerRequest request, String selfLinkTemplate); static Response generateCustomResponseFromServlet(Response.Status responseStatus, Base entity,
                                                           HttpServletRequest request, String selfLinkTemplate); static Response generateCustomResponse(Response.Status responseStatus, Object entity); static Response generateResourceListResponse(Response.Status responseStatus,
                                                                       ResourceList<T> entities,
                                                                       ContainerRequest request,
                                                                       String selfLinkTemplate); static Response generateResourceListResponse(Response.Status responseStatus,
                                                          ResourceList<T> entities); static Response externalException(ExternalException e); static Response invalidEntity(ConstraintViolationException e); static Response serverError(); static Response jerseyError(WebApplicationException e); }
Responses { public static Response generateCustomResponse(Response.Status responseStatus, Base entity) { return generateCustomResponse(responseStatus, entity, null, null); }  static Response generateCustomResponse(Response.Status responseStatus, Base entity); static Response generateCustomResponse(Response.Status responseStatus, Base entity,
                                                ContainerRequest request, String selfLinkTemplate); static Response generateCustomResponseFromServlet(Response.Status responseStatus, Base entity,
                                                           HttpServletRequest request, String selfLinkTemplate); static Response generateCustomResponse(Response.Status responseStatus, Object entity); static Response generateResourceListResponse(Response.Status responseStatus,
                                                                       ResourceList<T> entities,
                                                                       ContainerRequest request,
                                                                       String selfLinkTemplate); static Response generateResourceListResponse(Response.Status responseStatus,
                                                          ResourceList<T> entities); static Response externalException(ExternalException e); static Response invalidEntity(ConstraintViolationException e); static Response serverError(); static Response jerseyError(WebApplicationException e); static final String REQUEST_ID_HEADER; static final String VERSION_HEADER; }