PhpOffice\PhpPresentation\Tests\Shape\CommentTest::testGetSetHeightAndWidtg PHP Méthode

testGetSetHeightAndWidtg() public méthode

    public function testGetSetHeightAndWidtg()
    {
        $object = new Comment();
        $this->assertNull($object->getHeight());
        $this->assertNull($object->getWidth());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Comment', $object->setHeight(1));
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Comment', $object->setWidth(1));
        $this->assertNull($object->getHeight());
        $this->assertNull($object->getWidth());
    }