Perspective extends AbstractCssProperty<Perspective> { public void setAsAuto() { setCssValue(NONE); } Perspective();  Perspective(final String cssValue);  Perspective(final Perspective perspective);  Perspective(final float percent);  Perspective(final float value, final CssLengthUnit cssLengthUnit); Perspective 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 Perspective setCssValue(final String cssValue); void setAsAuto(); static boolean isValid(final String cssValue); static final String NONE; }
@Test public void testSetAsAuto() { Perspective perspective = new Perspective(); perspective.setAsAuto(); assertEquals(Perspective.NONE, perspective.getCssValue()); assertNull(perspective.getValue()); assertNull(perspective.getUnit()); }