@Test
public void onHttpResultShouldNotThrowExceptionsOnHeaders() throws Exception {

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