示例#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();
 }