PropertyStatus.REQUIRED);
MutableStyleProperties outputValues =
ThemeFactory.getDefaultInstance().createMutableStyleProperties();
ShorthandAnalyzer analyzer = new BasicShorthandAnalyzer(
StyleShorthands.BORDER_LEFT, checkerMock, shorthandSetMock);
analyzer.analyze(TargetEntity.ELEMENT, inputValues, deviceValuesMock);
assertTrue("Should be able to use shorthand",
analyzer.canUseShorthand());
analyzer.updateShorthand(outputValues);
assertEquals("Shorthand should match:",
"border-left:red dashed thick !important",
outputValues.getShorthandValue(
StyleShorthands.BORDER_LEFT).getStandardCSS());