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