@Test public void testGetBaseUri() throws Exception { URI uri; String expected = "/"; uri = options.getBaseUri(); assertEquals(expected, uri.getPath()); expected = "test/base/path"; config.put(DefaultJerseyOptions.CONFIG_BASE_PATH, expected); expected += "/"; uri = options.getBaseUri(); assertEquals(expected, uri.getPath()); }