MCPcopy Create free account
hub / github.com/Rello/analytics / testDetectDelimiter

Method testDetectDelimiter

tests/Datasource/ExternalCsvTest.php:25–29  ·  view source on GitHub ↗

* @dataProvider delimiterProvider */

(string $row, string $expected)

Source from the content-addressed store, hash-verified

23 * @dataProvider delimiterProvider
24 */
25 public function testDetectDelimiter(string $row, string $expected): void
26 {
27 $ref = new \ReflectionMethod(ExternalCsv::class, 'detectDelimiter');
28 $this->assertSame($expected, $ref->invoke($this->csv, $row));
29 }
30
31 public function delimiterProvider(): array
32 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected