@Test
public void testGetComparisonString() {

    String url = "http://someogcserver.com/wms/service?request=getcapabilities";
    Endpoint instance = new Endpoint(url);
    String expResult = "http://someogcserver.com/wms/";
    String result = instance.getComparisonString();
    assertThat(expResult, is(equalTo(result)));
}