public function testRotationX() { $object = new View3D(); $value = rand(-90, 90); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\View3D', $object->setRotationX()); $this->assertEquals(0, $object->getRotationX()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\View3D', $object->setRotationX($value)); $this->assertEquals($value, $object->getRotationX()); }