ClientLibrariesImpl implements ClientLibraries { @NotNull @Override public String getCssInline() { return getInline(LibraryType.CSS); }  @NotNull @Override String getJsInline(); @NotNull @Override String getCssInline(); @Override String getJsIncludes(); @Override String getCssIncludes(); @Override String getJsAndCssIncludes(); static final String COMPONENTS_SERVICE; }
@Test void testGetCssInline() { Map<String,Object> attributes = new HashMap<>(); attributes.put("categories", TEASER_CATEGORY + "," + ACCORDION_CATEGORY + "," + CAROUSEL_CATEGORY); ClientLibraries clientlibs = getClientLibrariesUnderTest(ROOT_PAGE, attributes); StringBuilder cssInline = new StringBuilder(); cssInline.append(cssInlines.get(TEASER_CATEGORY)); cssInline.append(cssInlines.get(ACCORDION_CATEGORY)); cssInline.append(cssInlines.get(CAROUSEL_CATEGORY)); assertEquals(cssInline.toString(), clientlibs.getCssInline()); }