<?phpclassDoctrine_Export_Reporter_TestCaseextendsDoctrine_UnitTestCase{publicfunctiontestExportChecksClassNaming(){$reporter=$this->export->export('BadLyNamed__Class');// Class name is not valid. Double underscores are not allowed$this->assertEqual($reporter->pop(),array(E_WARNING,'Badly named class.'));}}