setBulletNumericStartAt() public method

Set bullet numeric start at
public setBulletNumericStartAt ( integer | string $pValue = 1 ) : Bullet
$pValue integer | string
return Bullet
Beispiel #1
0
 /**
  * Test get/set bullet numeric start at
  */
 public function testSetGetBulletNumericStartAt()
 {
     $object = new Bullet();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletNumericStartAt());
     $this->assertEquals(1, $object->getBulletNumericStartAt());
     $value = rand(1, 100);
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletNumericStartAt($value));
     $this->assertEquals($value, $object->getBulletNumericStartAt());
 }