1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/tests_old/Export/ReporterTestCase.php
2008-02-08 17:27:54 +00:00

11 lines
371 B
PHP

<?php
class Doctrine_Export_Reporter_TestCase extends Doctrine_UnitTestCase {
public function testExportChecksClassNaming() {
$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.'));
}
}