public function testGetAllClassNamesFromMappingFile() {
$locator = $this
->newLocator();
$locator
->expects($this
->any())
->method('getAllClassNames')
->with($this
->equalTo(null))
->will($this
->returnValue(array(
'stdClass',
)));
$driver = new TestFileDriver($locator);
$classNames = $driver
->getAllClassNames();
$this
->assertEquals(array(
'stdClass',
), $classNames);
}