public function testGetElementFromFile() {
$locator = $this
->newLocator();
$locator
->expects($this
->once())
->method('findMappingFile')
->with($this
->equalTo('stdClass'))
->will($this
->returnValue(__DIR__ . '/_files/stdClass.yml'));
$driver = new TestFileDriver($locator);
$this
->assertEquals('stdClass', $driver
->getElement('stdClass'));
}