private function randomizeSuite($suite, $seed, $order = 0, $fix_depends = true)
    {
        $reflected = new \ReflectionObject($suite);
        $property = $reflected->getProperty('tests');
        $property->setAccessible(true);
        $property->setValue($suite, $this->randomizeTestsCases($suite->tests(), $seed, $order, $fix_depends));

        return $suite;
    }
private function randomizeSuite($suite, $seed, $order = 0, $fix_depends = true)
    {
        $reflected = new \ReflectionObject($suite);
        $property = $reflected->getProperty('tests');
        $property->setAccessible(true);
        $property->setValue($suite, $this->randomizeTestsCases($suite->tests(), $seed, $order, $fix_depends));

        return $suite;
    }
private function randomizeSuite ( $ suite , $ seed , $ order = 0 , $ fix_depends = true ) { $ reflected = new \ ReflectionObject ( $ suite ) ; $ property = $ reflected -> getProperty ( 'tests' ) ; $ property -> setAccessible ( true ) ; $ property -> setValue ( $ suite , $ this -> randomizeTestsCases ( $ suite -> tests ( ) , $ seed , $ order , $ fix_depends ) ) ; return $ suite ; }
Randomize the test cases inside a TestSuite, with the given seed.

@param  \PHPUnit\Framework\Test     $suite Test suite to randomize.
@param  integer                     $seed  Seed to be used for the random funtion.
@param  integer                     $order Arbitrary value to "salt" the seed.
@param  bool                        $fix_depends [=false]
@return \PHPUnit\Framework\Test
Randomize the test cases inside a TestSuite with the given seed .