@Test
public void testGetURL() {

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