/** * getDocument() and setDocument() should get and set the document, respectively */ public function testGetSetDocument() { $document = new State\Document(); $style = new Style(); $style->setDocument($document); $expected = $document; $actual = $style->getDocument(); $this->assertSame($expected, $actual); return; }