示例#1
0
 /**
  * @test
  */
 public function hasTopicIntegerForDateForPositiveIntegerInTopicReturnsTrue()
 {
     $topicRecordUid = $this->testingFramework->createRecord('tx_seminars_seminars', array('object_type' => tx_seminars_Model_Event::TYPE_TOPIC, 'credit_points' => 1));
     $dateRecordUid = $this->testingFramework->createRecord('tx_seminars_seminars', array('object_type' => tx_seminars_Model_Event::TYPE_DATE, 'topic' => $topicRecordUid));
     $date = new tx_seminars_seminarchild($dateRecordUid);
     self::assertTrue($date->hasTopicInteger('credit_points'));
 }