Example #1
0
 public function testFunctionFilterWithArray()
 {
     $simpleTable = new Asset_Model_DbTable_Simple();
     $simpleTable->filter(array(array('id', 1)));
     try {
         $simpleTable->fetchAll();
     } catch (Exception $e) {
         $this->fail('No exception should be raised when using array as value of filter function');
     }
 }