public function testSetSegmentCount($count) { $this->_object->setSegmentCount($count); $this->assertSame($this->_object->getSegmentCount(), $count); $this->assertSame($this->_object->getLength(), $count); }