Exemplo n.º 1
0
 /**
  * getIndex() and setIndex() should get and set the index, respectively
  */
 public function testGetSetIndex()
 {
     $index = 999;
     $paragraph = new Paragraph();
     $paragraph->setIndex($index);
     $expected = $index;
     $actual = $paragraph->getIndex();
     $this->assertEquals($expected, $actual);
     return;
 }