public function testSetGetType() { $this->document->setType($this->data['type']); $this->assertEquals($this->data['type'], $this->document->getType()); }