public function addTestCase(UnitTestCase $testCase) { if ($testCase instanceof GroupTest) { $this->_testCases = array_merge($this->_testCases, $testCase->getTestCases()); } else { $this->_testCases[get_class($testCase)] = $testCase; } }
public function addTestCase(UnitTestCase $testCase) { if ($testCase instanceof GroupTest) { $this->_testCases = array_merge($this->_testCases, $testCase->getTestCases()); } else { $this->_testCases[get_class($testCase)] = $testCase; } }