public function testLoadSuiteFromConfig()
{
$options = new Options(array('configuration' => $this->fixture('phpunit-passing.xml')));
$loader = new SuiteLoader($options);
$loader->load();
$files = $this->getObjectValue($loader, 'files');
$expected = sizeof($this->findTests(FIXTURES . DS . 'passing-tests'));
$this->assertEquals($expected, sizeof($files));
}