PhpOffice\PhpPresentation\Tests\Shape\RichText\RunTest::testConstruct PHP Метод

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

Test can read
public testConstruct ( )
    public function testConstruct()
    {
        $object = new Run();
        $this->assertEquals('', $object->getText());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Font', $object->getFont());
        $object = new Run('BBB');
        $this->assertEquals('BBB', $object->getText());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Font', $object->getFont());
    }