### Question:
ApiHandlerHelpers { public static FullHttpResponse methodNotAllowedResponse() { return createResponse(null, null, METHOD_NOT_ALLOWED); }  static boolean validateMethod(HttpRequest request, HttpMethod expectedMethod); static String validateContentType(HttpRequest request, String expectedContentType); static boolean validateAccessToken(HttpRequest request); static FullHttpResponse successResponse(ByteBuf outputBuffer, String content); static FullHttpResponse methodNotAllowedResponse(); static FullHttpResponse badRequestResponse(ByteBuf outputBuffer, String content); static FullHttpResponse unauthorizedResponse(ByteBuf outputBuffer, String content); static FullHttpResponse notFoundResponse(ByteBuf outputBuffer, String content); static FullHttpResponse internalServerErrorResponse(ByteBuf outputBuffer, String content);  }### Answer:
@Test public void testMethodNotAllowedResponse() { defaultResponse = new DefaultFullHttpResponse(HTTP_1_1, METHOD_NOT_ALLOWED); assertEquals(defaultResponse, ApiHandlerHelpers.methodNotAllowedResponse()); }