/** * Test process id formatter * * @param array $task * @param string $result * @param array $settings * @dataProvider processIdProvider */ public function testProcessId(array $task, $result, array $settings) { $Helper = new TaskHelper(new View(), $settings); $this->assertSame($result, $Helper->processId($task)); }