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

testShowLeaderLines() public method

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