verifyPropertyValueIs(properties.get(0), "UPPERCASE");
}
public void testVisit_functionWithUnknownConstant_propertyUpdated() {
// given
CssProperty property = mock(CssProperty.class);
when(property.getName()).thenReturn("name");
List<Value> arguments = new ArrayList<Value>(5);
for (int i = 0; i < 5; i++) {
arguments.add(new IdentValue("ARGUMENT" + i));
}
ListValue listValue = new ListValue(arguments);
FunctionValue function = new FunctionValue("fct", listValue);
when(property.getValues()).thenReturn(new ListValue(Lists.<Value>newArrayList(function)));
when(cssRule.getProperties()).thenReturn(Lists.newArrayList(property));
// when
UndefinedConstantVisitor undefinedConstantVisitor = new UndefinedConstantVisitor(