PhpOffice\PhpPresentation\Tests\Shape\Chart\LegendTest::testFont PHP Method

testFont() public method

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