/** * Test running bar formatter * * @param array $task * @param array $runtimes * @param string $result * @param array $settings * @dataProvider runningBarProvider */ public function testRunningBar(array $task, array $runtimes, $result, array $settings) { $Helper = new TaskHelper(new View(), $settings); $this->assertSame($result, $Helper->runningBar($task, $runtimes)); }