private function removeStubbedCall(CallStub $call) { if (($key = array_search($call, $this->_stubbed_calls)) !== false) { unset($this->_stubbed_calls[$key]); } }