/** * @expectedException \WebLoader\InvalidArgumentException */ public function testNonCallableFilter() { $this->object->addFilter(4); }