Пример #1
0
 protected function classSetUp()
 {
     parent::classSetUp();
     for ($i = 0; $i < $this->recordCount; $i++) {
         $this->buildSimpleDocument()->setString(__CLASS__)->save();
         $this->buildSimpleNestedDocument()->setString(__CLASS__)->save();
         $this->buildComplexDocument()->setString(__CLASS__)->save();
         $this->buildComplexNestedDocument()->setString(__CLASS__)->save();
     }
 }
Пример #2
0
 protected function classSetUp()
 {
     parent::classSetUp();
     $this->simpleDocument = $this->buildSimpleDocument()->save();
     $this->complexDocument = $this->buildComplexDocument()->save();
 }