PhpOffice\PhpPresentation\Tests\Shape\Chart\SeriesTest::testConstruct PHP Method

testConstruct() public method

public testConstruct ( )
    public function testConstruct()
    {
        $object = new Series();
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Fill', $object->getFill());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Font', $object->getFont());
        $this->assertEquals('Calibri', $object->getFont()->getName());
        $this->assertEquals(9, $object->getFont()->getSize());
        $this->assertEquals('Series Title', $object->getTitle());
        $this->assertInternalType('array', $object->getValues());
        $this->assertEmpty($object->getValues());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Marker', $object->getMarker());
        $this->assertNull($object->getOutline());
    }