/** * Tests that the construction appropriately creates a CSVFileObject. * * @test * * @covers ::__construct */ public function create() { $this->assertInstanceOf(CSVFileObject::class, $this->csvFileObject); $flags = CSVFileObject::READ_CSV | CSVFileObject::READ_AHEAD | CSVFileObject::DROP_NEW_LINE | CSVFileObject::SKIP_EMPTY; $this->assertSame($flags, $this->csvFileObject->getFlags()); }