PhpOffice\PhpPresentation\Tests\Shape\RichText\RunTest::testFont PHP Method

testFont() public method

public testFont ( )
    public function testFont()
    {
        $object = new Run();
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Run', $object->setFont(new Font()));
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Font', $object->getFont());
    }