Ejemplo n.º 1
0
 /**
  * @test
  * @return void
  */
 public function topNewsRestrictionCanBeSet()
 {
     $value = TRUE;
     $this->instance->setTopNewsRestriction($value);
     $this->assertEquals($value, $this->instance->getTopNewsRestriction());
 }
 /**
  * Test if topnews setting can be set
  *
  * @test
  * @return void
  */
 public function topNewsSettingCanBeSet()
 {
     $domainModelInstance = new Tx_News_Domain_Model_Dto_NewsDemand();
     $topNewsSetting = 'Test topNewsRestriction';
     $domainModelInstance->setTopNewsRestriction($topNewsSetting);
     $this->assertEquals($topNewsSetting, $domainModelInstance->getTopNewsRestriction());
 }