PhpOffice\PhpPresentation\Tests\Shape\Chart\Type\Bar3DTest::testBarDirection PHP Method

testBarDirection() public method

public testBarDirection ( )
    public function testBarDirection()
    {
        $object = new Bar3D();
        $this->assertEquals(Bar3D::DIRECTION_VERTICAL, $object->getBarDirection());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Type\\Bar3D', $object->setBarDirection(Bar3D::DIRECTION_HORIZONTAL));
        $this->assertEquals(Bar3D::DIRECTION_HORIZONTAL, $object->getBarDirection());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Type\\Bar3D', $object->setBarDirection(Bar3D::DIRECTION_VERTICAL));
        $this->assertEquals(Bar3D::DIRECTION_VERTICAL, $object->getBarDirection());
    }