/** * Test status formatter * * @param array $task * @param string $result * @param array $settings * @dataProvider statusProvider */ public function testStatus(array $task, $result, array $settings) { $Helper = new TaskHelper(new View(), $settings); $this->assertSame($result, $Helper->status($task)); }