public function addSuite($description, callable $fn, $pending = null, $focused = false)
    {
        $suite = $this->createSuite($description, $fn, $pending, $focused);

        $this->getCurrentSuite()->addTest($suite);
        array_unshift($this->suites, $suite);
        $suite->define();
        array_shift($this->suites);

        return $suite;
    }
public function addSuite($description, callable $fn, $pending = null, $focused = false)
    {
        $suite = $this->createSuite($description, $fn, $pending, $focused);

        $this->getCurrentSuite()->addTest($suite);
        array_unshift($this->suites, $suite);
        $suite->define();
        array_shift($this->suites);

        return $suite;
    }
public function addSuite ( $ description , callable $ fn , $ pending = null , $ focused = false ) { $ suite = $ this -> createSuite ( $ description , $ fn , $ pending , $ focused ) ; $ this -> getCurrentSuite ( ) -> addTest ( $ suite ) ; array_unshift ( $ this -> suites , $ suite ) ; $ suite -> define ( ) ; array_shift ( $ this -> suites ) ; return $ suite ; }
Creates a suite and adds it to the current suite. The newly
created suite will become the new "current" suite

@param string $description
@param callable $fn
@param bool|null $pending
@param bool $focused
Creates a suite and adds it to the current suite . The newly created suite will become the new current suite