PhpOffice\PhpPresentation\Tests\Shape\RichText\TextElementTest::testConstruct PHP Method

testConstruct() public method

Test can read
public testConstruct ( )
    public function testConstruct()
    {
        $object = new TextElement();
        $this->assertEquals('', $object->getText());
        $object = new TextElement('AAA');
        $this->assertEquals('AAA', $object->getText());
    }