Beispiel #1
0
 /**
  * @group           DataModel
  * @group           DataModelWhere
  * @covers          FOF30\Model\DataModel::where
  */
 public function testWhereException()
 {
     $this->setExpectedException('FOF30\\Model\\DataModel\\Exception\\InvalidSearchMethod');
     $config = array('idFieldName' => 'foftest_bare_id', 'tableName' => '#__foftest_bares');
     $model = new DataModelStub(static::$container, $config);
     $model->where('id', 'wrong', null);
 }