public function testDict() { $parser = new CSVParser('dict.csv'); $dict = [['col1' => 'a', 'col2' => 'b', 'col3' => 'c']]; $this->assertEquals($dict, $parser->toDictionary()); }