/** @test **/ public function it_converts_object_to_CSV() { $expected = "id,name,value\n1,left,up\n2,right,down\n"; $this->assertSame($expected, $this->rs->toCSV()); }