List functionArgs = new ArrayList();
functionArgs.add(getCounterIdentifier("horse"));
functionArgs.add(STYLE_VALUE_FACTORY.getString(null, "."));
functionArgs.add(ListStyleTypeKeywords.DECIMAL);
StyleValue functionValue =
function.evaluate(evaluationContextMock,
"counters", functionArgs);
assertNotNull("Function should return a value", functionValue);
assertTrue("Function should return a StyleString",
functionValue instanceof StyleString);