@Test
public void shouldThrowResultExceptionIfAnIOExceptionWhenWriteStringBody() throws Exception {

	doThrow(new IOException()).when(response).getWriter();
	
	try {
		httpResult.body("The text");
		fail("should throw ResultException");
	} catch (ResultException e) {
		
	}
}