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

testLoadTestsuiteFilesFromConfigWhileIncludingAndExcludingTheSameDirectory() public method

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