/** * Assert that the response written to the mock context equals the response provided. * @param response the expected response * @param context the mock external context that was written to */ protected void assertResponseWrittenEquals(String response, MockExternalContext context) { assertEquals(response, context.getMockResponseWriter().getBuffer().toString()); }
/** * Assert that the response written to the mock context equals the response provided. * @param response the expected response * @param context the mock external context that was written to */ protected void assertResponseWrittenEquals(String response, MockExternalContext context) { assertEquals(response, context.getMockResponseWriter().getBuffer().toString()); }
/** * Assert that the response written to the mock context equals the response provided. * @param response the expected response * @param context the mock external context that was written to */ protected void assertResponseWrittenEquals(String response, MockExternalContext context) { assertEquals(response, context.getMockResponseWriter().getBuffer().toString()); }