public void testSaveResources(){
ScrollableDataTableIconSplit icon = new ScrollableDataTableIconSplit();
Skin skin = SkinFactory.getInstance().getSkin(facesContext);
Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(facesContext);
String skinParameter = "headerTextColor";
String headerTextColor = (String) skin.getParameter(facesContext, skinParameter);
if (null == headerTextColor || "".equals(headerTextColor))
headerTextColor = (String) defaultSkin.getParameter(facesContext, skinParameter);
assertNotNull(headerTextColor);
Color color1 = HtmlColor.decode(headerTextColor);
skinParameter = "headerBackgroundColor";
String headerBackgroundColor = (String) skin.getParameter(facesContext, skinParameter);
if (null == headerBackgroundColor || "".equals(headerBackgroundColor))
headerBackgroundColor = (String) defaultSkin.getParameter(facesContext, skinParameter);
assertNotNull(headerBackgroundColor);
Color color2 = HtmlColor.decode(headerBackgroundColor);