@Test
public void shouldBeAbleToChainMethodsOnHttpResult() throws Exception {

	HttpResult httpResult = mock(HttpResult.class);
	when(result.use(HttpResult.class)).thenReturn(httpResult);
	factory.instanceFor(HttpResult.class, errors).addDateHeader("abc", 123l).addHeader("def", "ghi").addIntHeader("jkl", 234);
}