Results { public static Result internalServerError() { return status(Result.SC_500_INTERNAL_SERVER_ERROR); }  static Result status(int statusCode); static Result ok(); static Result created(Optional<String> url); static Result notFound(); static Result forbidden(); static Result unauthorized(); static Result badRequest(); static Result noContent(); static Result internalServerError(); static Result redirect(String url); static Result redirectTemporary(String url); static Result contentType(String contentType); static Result html(); static Result text(); static Result json(); static Result jsonp(); static Result xml(); static Result TODO(); static Result webSocketContinue(); static AsyncResult async();  }
@Test public void testResultsInternalServerError() { Result result = Results.internalServerError(); assertEquals(Result.SC_500_INTERNAL_SERVER_ERROR, result.getStatusCode()); }