public function testLoadDirGetsPathOfAllTestsWithKeys()
{
$path = $this->fixture('passing-tests');
$files = $this->findTests($path);
$loader = new SuiteLoader();
$loader->load($path);
$loaded = $this->getObjectValue($loader, 'loadedSuites');
foreach ($loaded as $path => $test) {
$this->assertContains($path, $files);
}
return $loaded;
}