@Test
public void shouldReplaceHeaderBasedOnPattern() throws Exception {

    final HttpHeaders httpHeaders = new HttpHeaders();
    httpHeaders.set("Location", "http://localhost:8080/nobts");
    final HttpHeaders modified = sut.modify(httpHeaders);
    assertThat(modified.get("Location"), hasItem("http://api.nobt.io/nobts"));
}