@Test(expected=InterceptionException.class)
public void shouldThrowInterceptionExceptionIfAnIOExceptionOccurs() throws Exception {

	doThrow(new IOException()).when(response).sendError(anyInt());
	this.handler.deny(request, EnumSet.of(HttpMethod.GET, HttpMethod.POST));
}