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