Exemplo n.º 1
0
 public function testParagraphs()
 {
     $object = new RichText();
     $array = array(new Paragraph(), new Paragraph(), new Paragraph());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\RichText', $object->setParagraphs($array));
     $this->assertCount(3, $object->getParagraphs());
     $this->assertEquals(2, $object->getActiveParagraphIndex());
 }