Exemple #1
0
 /**
  * @group           DataModel
  * @group           DataModelTouch
  * @covers          FOF30\Model\DataModel::touch
  */
 public function testTouchException()
 {
     $config = array('idFieldName' => 'foftest_bare_id', 'tableName' => '#__foftest_bares');
     $this->setExpectedException('FOF30\\Model\\DataModel\\Exception\\RecordNotLoaded');
     $model = new DataModelStub(static::$container, $config);
     $model->touch();
 }