public function addTestsFromPatterns(array $patterns) { foreach ($patterns as $pattern) { $this->addTestsFromPattern($pattern); } return $this; }