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