예제 #1
0
파일: GenericTest.php 프로젝트: Joal01/fof
 /**
  * @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');
 }