@Test
public void extractIntegerHeader_withDoubleValue_shouldTruncateValue() throws Exception {

    response.addHeader(AD_TIMEOUT.getKey(), "3.14");
    assertThat(HeaderUtils.extractIntegerHeader(response, AD_TIMEOUT)).isEqualTo(3);
    response.addHeader(AD_TIMEOUT.getKey(), "-3.14");
    assertThat(HeaderUtils.extractIntegerHeader(response, AD_TIMEOUT)).isEqualTo(-3);
}