public function testParsers() { $t = new StringMethods(); // $this->assertSame(['foo' => 'bar'], $t->getParsedJson('{ "foo" : "bar" }', true)); $this->assertSame(array('foo', 'bar', 'baz'), $t->getParsedCsv('foo,bar,"baz"')); }