/** * @test */ public function hasAttachedFilesForDateWithoutFilesAndTopicWithoutFilesReturnsFalse() { $topicRecordUid = $this->testingFramework->createRecord('tx_seminars_seminars', array('object_type' => tx_seminars_Model_Event::TYPE_TOPIC, 'attached_files' => '')); $dateRecordUid = $this->testingFramework->createRecord('tx_seminars_seminars', array('object_type' => tx_seminars_Model_Event::TYPE_DATE, 'attached_files' => '', 'topic' => $topicRecordUid)); $eventDate = new tx_seminars_seminar($dateRecordUid); self::assertFalse($eventDate->hasAttachedFiles()); }