@Test
public void extractIntHeader_withInvalidHeader_shouldUseDefaultValue() throws Exception {

    response.addHeader(AD_TIMEOUT.getKey(), "5");
    assertThat(HeaderUtils.extractIntHeader(response, AD_TIMEOUT, 10)).isEqualTo(5);
    response.addHeader(AD_TIMEOUT.getKey(), "five!");
    assertThat(HeaderUtils.extractIntHeader(response, AD_TIMEOUT, 10)).isEqualTo(10);
}