/** * run all test defined in $tests * * @param array $tests * @return array results of tests */ public static function check($tests) { $res = array(); foreach ($tests as $key => $test) { $res[$key] = ConfigurationTest::run($key, $test); } return $res; }