/** * Check if the test object should be filtered out. * * @param TestSuite|TestCase $test * @return bool */ protected function matched($test) { foreach ($this->groups as $group) { if ($test->in_group($group)) { return false; } } return true; }