Exemplo n.º 1
0
 /**
  * @group           DataModel
  * @group           DataModelSetHasTags
  * @covers          FOF30\Model\DataModel::setHasTags
  */
 public function testSetHasTags()
 {
     $config = array('idFieldName' => 'foftest_bare_id', 'tableName' => '#__foftest_bares');
     $model = new DataModelStub(static::$container, $config);
     $model->setHasTags(true);
     $value = ReflectionHelper::getValue($model, '_has_tags');
     $this->assertEquals(true, $value, 'DataModel::setHasTags Returned the wrong result');
 }