private StubMvcResult getStubMvcResult() throws Exception { MockHttpServletResponse response = new MockHttpServletResponse(); response.addHeader("Content-Type", "application/json"); response.getWriter().print(new String(RESPONSE_CONTENT.getBytes("ISO-8859-1"))); return new StubMvcResult(null, null, null, null, null, null, response); }