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

testShowCategoryName() public method

    public function testShowCategoryName()
    {
        $object = new Series();
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowCategoryName(true));
        $this->assertTrue($object->hasShowCategoryName());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowCategoryName(false));
        $this->assertFalse($object->hasShowCategoryName());
    }