/** * @expectedException InvalidArgumentException */ public function testAddDataTransformationNonCallableArgument() { $fn = array(); $this->object->addDataTransformation('test', $fn); }