    protected function assertCsvExported ($csv) {
        $exportPath = implode(DIRECTORY_SEPARATOR, array(
            Yii::app()->basePath,
            'data',
            'records_export.csv'
        ));
        $csvFile = implode(DIRECTORY_SEPARATOR, array(
            Yii::app()->basePath,
            'tests',
            'data',
            'csvs',
            $csv.".csv"
        ));
        $this->assertFileExists ($exportPath);
        $expectedLength = count(file($csvFile));
        $exportedLength = count(file($exportPath));
        $this->assertEquals ($expectedLength, $exportedLength);
        // TODO achieve consistency in fields
        //$this->assertFileEquals ($csvFile, $exportPath);
    }
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.