PhpOffice\PhpPresentation\Tests\Shape\Chart\SeriesTest::testFont PHP Méthode

testFont() public méthode

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