protected function addMethodChain($method) { $result = TestResultCollection::getResult($this->currentTestCase, $this->totalAssertions - 1); $result->MethodChain[] = $method; }