Exemple #1
0
 /**
  * @group           DataModel
  * @group           DataModelBind
  * @covers          FOF30\Model\DataModel::bind
  * @dataProvider    DataModelCrudDataprovider::getTestBindException
  */
 public function testBindException($test)
 {
     $this->setExpectedException('InvalidArgumentException');
     $config = array('idFieldName' => 'foftest_bare_id', 'tableName' => '#__foftest_bares');
     $model = new DataModelStub(static::$container, $config);
     $model->bind($test['data']);
 }