@Test
public void shouldStripContextPath() {

    assertThat(HttpServerHandler.stripContextPath("/one", "/")).isEqualTo("/one");
    assertThat(HttpServerHandler.stripContextPath("/", "/")).isEqualTo("/");
    assertThat(HttpServerHandler.stripContextPath("/one", "/one")).isEqualTo("/");
    assertThat(HttpServerHandler.stripContextPath("/one/", "/one")).isEqualTo("/");
    assertThat(HttpServerHandler.stripContextPath("/one/two", "/one")).isEqualTo("/two");
    assertThat(HttpServerHandler.stripContextPath("/one/two/", "/one")).isEqualTo("/two/");
}