public function testGetAllClassNamesReturnsAlreadyLoadedClassesIfAppropriate()
{
$rightClassName = 'Doctrine\\Tests\\Models\\CMS\\CmsUser';
$this->ensureIsLoaded($rightClassName);
$annotationDriver = $this->loadDriverForCMSDocuments();
$classes = $annotationDriver->getAllClassNames();
$this->assertContains($rightClassName, $classes);
}