Peridot\Core\Test::runSetup PHP Method

runSetup() protected method

Excecute the test's setup functions
protected runSetup ( )
    protected function runSetup()
    {
        $this->forEachNodeTopDown(function (TestInterface $node) {
            $setups = $node->getSetupFunctions();
            foreach ($setups as $setup) {
                $setup();
            }
        });
    }