}
@Test
public void matcherShouldDescribeMismatchCorrectlyWithHeaders() {
List<Header> headers = Arrays.asList(new Header("This: that"), new Header("The: other"));
Description description = new StringDescription();
Response mockResponse = mock(Response.class);
when(mockResponse.getHeaders()).thenReturn(headers);
matcher.describeMismatchSafely(mockResponse, description);
assertThat(description.toString(), is("Response has headers [This: that, The: other]"));
}