@Test
public void shouldThrowResultExceptionIfAnIOExceptionWhenWriteReaderBody() throws Exception {

	doThrow(new IOException()).when(response).getWriter();
	Reader reader = new StringReader("the text");
	
	try {
		httpResult.body(reader);
		fail("should throw ResultException");
	} catch (ResultException e) {
		
	}
}