@Test
public void testGetSanitizedPath() {

	new Expectations() {{
		uriInfo.getAbsolutePath();
		result = URI.create("http://www.pegelonline.wsv.de/webservices/rest-api/v2");
	}};
	URI result = getSanitizedPath(uriInfo);
	Assert.assertEquals("http://www.pegelonline.wsv.de/webservices/rest-api/v2/", result.toString());
}