public function testInvalidEncoding()
{
if (!function_exists('mb_strtoupper')) {
$this->markTestSkipped('mbstring extension not enabled');
}
$rule = new ToUpperRule(array('encoding' => 'invalid'));
$filter = new ToUpper();
$result = $filter->apply($rule, 'x');
}