public function stringsWithSpacesProvider() {
return array(
array(
'bar',
'%foo%',
'Parameters must be wrapped by %.',
),
array(
'% foo %',
'% foo %',
'Parameters should not have spaces.',
),
array(
'{% set my_template = "foo" %}',
'{% set my_template = "foo" %}',
'Twig-like strings are not parameters.',
),
array(
'50% is less than 100%',
'50% is less than 100%',
'Text between % signs is allowed, if there are spaces.',
),
);
}