Extends
lithium\test\Unit
Tests that calling a filter-able method with no filters added does not trigger an error.
Returns
voidSource
public function testCallingUnfilteredMethods() {
$class = 'lithium\tests\mocks\core\MockStaticMethodFiltering';
$result = $class::manual(array(function($self, $params, $chain) {
return '-' . $chain->next($self, $params, $chain) . '-';
}));
$expected = '-Working-';
$this->assertEqual($expected, $result);
}