mageekguy\atoum\test::stopEngines PHP Метод

stopEngines() приватный Метод

private stopEngines ( )
    private function stopEngines()
    {
        while ($this->engines) {
            $engines = $this->engines;
            foreach ($engines as $currentMethod => $engine) {
                if ($engine->getScore() !== null) {
                    unset($this->engines[$currentMethod]);
                }
            }
        }
        return $this->doTearDown();
    }
test