public function testActiveParagraph()
{
$object = new RichText();
$this->assertEquals(0, $object->getActiveParagraphIndex());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->createParagraph());
$this->assertCount(2, $object->getParagraphs());
$value = rand(0, 1);
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->setActiveParagraph($value));
$this->assertEquals($value, $object->getActiveParagraphIndex());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->getActiveParagraph());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->getParagraph());
$value = rand(0, 1);
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->getParagraph($value));
}