ParaTest\Runners\PHPUnit\SuiteLoaderTest::testLoadTestsuiteFileFromConfig PHP Method

testLoadTestsuiteFileFromConfig() public method

    public function testLoadTestsuiteFileFromConfig()
    {
        $options = new Options(array('configuration' => $this->fixture('phpunit-file.xml'), 'testsuite' => 'ParaTest Fixtures'));
        $loader = new SuiteLoader($options);
        $loader->load();
        $files = $this->getObjectValue($loader, 'files');
        $expected = 1;
        $this->assertEquals($expected, sizeof($files));
    }