public static String decoratorPathWithSlash(final String contextPath) {
        return StringUtils.endsWith(contextPath, AdminConstants.URI_SLASH_SUFFIX) ? contextPath : contextPath + AdminConstants.URI_SLASH_SUFFIX;
    }
@Test
    public void testDecoratorPathWithSlash() {
        String uri = PathUtils.decoratorPathWithSlash(URI);
        assertThat(uri, is(URI + AdminConstants.URI_SLASH_SUFFIX));

        uri = PathUtils.decoratorContextPath(URI_SLASH);
        assertThat(uri, is(URI + AdminConstants.URI_SLASH_SUFFIX));
    }