BorderWidthKeywords.MEDIUM, BorderWidthKeywords.MEDIUM,
BorderWidthKeywords.MEDIUM, BorderWidthKeywords.MEDIUM,
PropertyStatus.CLEARABLE, PropertyStatus.CLEARABLE,
PropertyStatus.CLEARABLE, PropertyStatus.CLEARABLE);
BasicShorthandAnalyzer analyzer = new BasicShorthandAnalyzer(
StyleShorthands.BORDER_WIDTH, checkerMock, shorthandSetMock);
analyzer.analyze(TargetEntity.ELEMENT, inputValues, deviceValuesMock);
assertFalse("Shouldn't be able to use shorthand",
analyzer.canUseShorthand());
assertTrue("Should be able to clear all", analyzer.allClearable());
assertEquals("Should all be initial", 4, analyzer.getInitialCount());
assertEquals("Should be normal priority",
Priority.NORMAL, analyzer.getShorthandPriority());
}