WordSpacing extends AbstractCssProperty<WordSpacing> { @Override public String getCssValue() { return cssValue; } WordSpacing();  WordSpacing(final String cssValue);  WordSpacing(final WordSpacing wordSpacing);  WordSpacing(final float percent);  WordSpacing(final float value, final CssLengthUnit cssLengthUnit); WordSpacing setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); CssLengthUnit getUnit(); @Override WordSpacing setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsNormal(); static final String NORMAL; static final String INITIAL; static final String INHERIT; }
@Test public void testWordSpacingString() { { WordSpacing wordSpacing = new WordSpacing(WordSpacing.INITIAL); assertEquals(WordSpacing.INITIAL, wordSpacing.getCssValue()); } { WordSpacing wordSpacing = new WordSpacing("50px"); assertEquals("50px", wordSpacing.getCssValue()); } }
@Test public void testWordSpacingWordSpacing() { WordSpacing wordSpacing = new WordSpacing("50px"); WordSpacing wordSpacing1 = new WordSpacing(wordSpacing); assertEquals("50px", wordSpacing1.getCssValue()); }
@Test public void testWordSpacingFloat() { WordSpacing wordSpacing = new WordSpacing(75); assertEquals("75.0%", wordSpacing.getCssValue()); }
@Test public void testGetCssValue() { WordSpacing wordSpacing = new WordSpacing(); wordSpacing.setAsInherit(); assertEquals(WordSpacing.INHERIT, wordSpacing.getCssValue()); wordSpacing.setAsNormal(); assertEquals(WordSpacing.NORMAL, wordSpacing.getCssValue()); }