public function testBarHeight() { $this->_object->setBarHeight(1); $this->assertSame(1, $this->_object->getBarHeight()); $this->_object->setBarHeight(true); $this->assertSame(1, $this->_object->getBarHeight()); $this->_object->setBarHeight('200a'); $this->assertSame(200, $this->_object->getBarHeight()); }