public function testSetLineLength() { $expected = 4; $this->_model->setLineLength($expected); $lineLengthProperty = new \ReflectionProperty('Magento\\Framework\\File\\Csv', '_lineLength'); $lineLengthProperty->setAccessible(true); $actual = $lineLengthProperty->getValue($this->_model); $this->assertEquals($expected, $actual); }