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

testFont() public method

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