@Test
void headerShouldMatchPredicate() {

    final Predicate<HttpMessage> unit = header((name, value) ->
            name.equalsIgnoreCase("X-Secret") && value.equalsIgnoreCase("true"));
    assertThat(unit.test(request), is(true));
}