EasyCSV\Tests\WriterTest::testReadWrittenFile PHP Method

testReadWrittenFile() public method

public testReadWrittenFile ( )
    public function testReadWrittenFile()
    {
        $reader = new \EasyCSV\Reader(__DIR__ . '/write.csv');
        $results = $reader->getAll();
        $expected = array(array('column1' => '1test1', 'column2' => '1test2ing this out', 'column3' => '1test3'), array('column1' => '2test1', 'column2' => '2test2 ing this out ok', 'column3' => '2test3'));
        $this->assertEquals($expected, $results);
    }