Headers { public String getHeader(final String name) { return headers.get(name); }  void setHeader(final String name, final String value); String getHeader(final String name); Set<String> keySet(); boolean containsHeader(final String name); static final String HEADER_ALLOW; static final String HEADER_SERVER; static final String HEADER_CONTENT_DISPOSITION; static final String HEADER_LOCATION; static final String HEADER_CONTENT_LENGTH; static final String HEADER_CONTENT_TYPE; static final String HEADER_CONNECTION; static final String HEADER_SET_COOKIE; static final String HEADER_CACHE_CONTROL; static final String HEADER_ACCEPT_LANGUAGE; static final String HEADER_PRAGMA; static final String HEADER_COOKIE; static final String HEADER_TRANSFER_ENCODING; static final String HEADER_HOST; static final String HEADER_RANGE; static final String HEADER_ACCEPT_RANGES; static final String HEADER_CONTENT_RANGE; }
@Test public void shouldReturnNullValueForInexistentHeader() { assertThat(headers.getHeader("Non-existent"), is(nullValue())); }