/** * @covers Centurion_Db_Table_Abstract::__call */ public function testWrongCall() { $simpleTable = new Asset_Model_DbTable_Simple(); $this->setExpectedException('Centurion_Db_Table_Exception'); //The function findOneBy (called by __call) except at least 1 parameter $simpleTable->findOneById(); }