public function testCustomDelimiter() { $csv = new CSV($this->rows, $this->headers, '|'); $output = $csv->render(); $expected = "name|age\nandrew|25\nbob|37\n"; $this->assertEquals($expected, $output); }