public String getContextPath() {
    return contextPath;
  }
@Test
  public void sanitize_context_path_from_settings() {
    settings.setProperty(CONTEXT_PROPERTY, "/my_path///");

    assertThat(underTest().getContextPath()).isEqualTo("/my_path");
  }