public function registerTests($testType, $tests) { foreach ($tests as $test) { $this->tests[] = ['type' => $testType, 'test' => $test, 'callable' => [$this->testTypes[$testType], '_' . $test]]; } }