function() { return 'simple'; }, 'parameters' => function($one, $two) { return $one.'|'.$two; }, ); Filter::register($filters); $this->assertEquals(Filter::run(array('simple'), array(), true), 'simple'); $this->assertEquals(Filter::run(array('parameters:1,2'), array(), true), '1|2'); } }