@Override protected boolean matchesSafely(Response<T> item) { return !item.header(header).isPresent(); }
@Override protected String featureValueOf(Response<T> actual) { return actual.header(header).orElse(null); } };
@Override protected void describeMismatchSafely(Response<T> item, Description mismatchDescription) { mismatchDescription.appendText("it contained the header "); mismatchDescription.appendValueList("{", ":", "}", header, item.header(header)); }
@Override protected String featureValueOf(Response<T> actual) { return actual.header(header).orElse(null); } };
@Override protected boolean matchesSafely(Response<T> item) { return !item.header(header).isPresent(); }
@Override protected void describeMismatchSafely(Response<T> item, Description mismatchDescription) { mismatchDescription.appendText("it contained the header "); mismatchDescription.appendValueList("{", ":", "}", header, item.header(header)); }