public function testRunWithoutChain()
{
$options = array('method' => __FUNCTION__, 'class' => __CLASS__, 'data' => array(function ($self, $params, $chain) {
return $chain->next($self, $params, null);
}, 'This is a filter chain that calls $chain->next() without the $chain argument.'));
$result = Filters::run(__CLASS__, array(), $options);
$expected = 'This is a filter chain that calls $chain->next() without the $chain argument.';
$this->assertEqual($expected, $result);
}