public function testDefaultSettings() { $bar = new CliProgressBar(); $this->assertEquals($bar->getBarLength(), 40, 'Bar length should be 40 at the beginning'); $this->assertEquals($bar->getCurrentstep(), 0, 'Progress bar should start with 0'); $this->assertEquals($bar->getSteps(), 100, 'Default number of steps should be 100'); }