PhpOffice\PhpPresentation\Tests\AbstractShapeTest::testRotation PHP Метод

testRotation() публичный Метод

public testRotation ( )
    public function testRotation()
    {
        $object = new RichText();
        $value = rand(1, 100);
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\AbstractShape', $object->setRotation());
        $this->assertEquals(0, $object->getRotation());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\AbstractShape', $object->setRotation($value));
        $this->assertEquals($value, $object->getRotation());
    }