MozColumnRule extends AbstractCssProperty<MozColumnRule> implements StateChangeInformer<CssProperty> { public MozColumnRule setMozColumnRuleStyle( final MozColumnRuleStyle mozColunmRuleStyle) { final StringBuilder cssValueBuilder = new StringBuilder(); if (mozColumnRuleWidth != null) { cssValueBuilder.append(mozColumnRuleWidth.getCssValue()) .append(' '); } if (mozColunmRuleStyle != null) { cssValueBuilder.append(mozColunmRuleStyle.getCssValue()) .append(' '); } if (mozColumnRuleColor != null) { cssValueBuilder.append(mozColumnRuleColor.getCssValue()); } final String trimmedCssValue = StringBuilderUtil .getTrimmedString(cssValueBuilder).toString(); cssValue = trimmedCssValue.isEmpty() ? INHERIT : trimmedCssValue; mozColumnRuleStyle = mozColunmRuleStyle; if (getStateChangeInformer() != null) { getStateChangeInformer().stateChanged(this); } return this; } MozColumnRule();  MozColumnRule(final String cssValue);  MozColumnRule(final MozColumnRule mozColumnRule); MozColumnRule setValue(final String value); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); String getValue(); @Override MozColumnRule setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); MozColumnRuleWidth getMozColumnRuleWidth(); MozColumnRule setMozColumnRuleWidth(
            final MozColumnRuleWidth mozColumnRuleWidth); MozColumnRuleStyle getMozColumnRuleStyle(); MozColumnRule setMozColumnRuleStyle(
            final MozColumnRuleStyle mozColunmRuleStyle); MozColumnRuleColor getMozColumnRuleColor(); MozColumnRule setMozColumnRuleColor(
            final MozColumnRuleColor mozColumnRuleColor); @Override void stateChanged(final CssProperty stateChangedObject); static final String INITIAL; static final String INHERIT; }
@Test public void testSetMozColumnRuleStyle() { MozColumnRule columnRule = new MozColumnRule("50px dashed green"); MozColumnRuleStyle columnRuleStyle = MozColumnRuleStyle.RIDGE; columnRule.setMozColumnRuleStyle(columnRuleStyle); assertEquals("50px ridge green", columnRule.getCssValue()); }