예제 #1
0
파일: StyleTest.php 프로젝트: jstewmc/rtf
 /**
  * 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;
 }