/home/techb158/dev.balacoffee.com/vendor/mockery/mockery/library/Mockery
NameSizeModeActions
Adapter/-0755rm
CountValidator/-0755rm
Exception/-0755rm
Generator/-0755rm
Loader/-0755rm
Matcher/-0755rm
ClosureWrapper.php6330644editdlrm
CompositeExpectation.php36200644editdlrm
Configuration.php80380644editdlrm
Container.php156060644editdlrm
Exception.php4630644editdlrm
Expectation.php242270644editdlrm
ExpectationDirector.php55630644editdlrm
ExpectationInterface.php7020644editdlrm
ExpectsHigherOrderMessage.php7030644editdlrm
HigherOrderMessage.php9480644editdlrm
Instantiator.php42200644editdlrm
LegacyMockInterface.php57450644editdlrm
MethodCall.php6520644editdlrm
Mock.php290600644editdlrm
MockInterface.php8780644editdlrm
QuickDefinitionsConfiguration.php17800644editdlrm
ReceivedMethodCalls.php9410644editdlrm
Reflector.php84070644editdlrm
Undefined.php7810644editdlrm
VerificationDirector.php27400644editdlrm
VerificationExpectation.php5770644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/mockery/mockery/library/Mockery/CompositeExpectation.php (3620B)
_expectations[] = $expectation; } /** * @param mixed ...$args */ public function andReturn(...$args) { return $this->__call(__FUNCTION__, $args); } /** * Set a return value, or sequential queue of return values * * @param mixed ...$args * @return self */ public function andReturns(...$args) { return call_user_func_array([$this, 'andReturn'], $args); } /** * Intercept any expectation calls and direct against all expectations * * @param string $method * @param array $args * @return self */ public function __call($method, array $args) { foreach ($this->_expectations as $expectation) { call_user_func_array(array($expectation, $method), $args); } return $this; } /** * Return order number of the first expectation * * @return int */ public function getOrderNumber() { reset($this->_expectations); $first = current($this->_expectations); return $first->getOrderNumber(); } /** * Return the parent mock of the first expectation * * @return \Mockery\MockInterface|\Mockery\LegacyMockInterface */ public function getMock() { reset($this->_expectations); $first = current($this->_expectations); return $first->getMock(); } /** * Mockery API alias to getMock * * @return \Mockery\LegacyMockInterface|\Mockery\MockInterface */ public function mock() { return $this->getMock(); } /** * Starts a new expectation addition on the first mock which is the primary * target outside of a demeter chain * * @param mixed ...$args * @return \Mockery\Expectation */ public function shouldReceive(...$args) { reset($this->_expectations); $first = current($this->_expectations); return call_user_func_array(array($first->getMock(), 'shouldReceive'), $args); } /** * Starts a new expectation addition on the first mock which is the primary * target outside of a demeter chain * * @param mixed ...$args * @return \Mockery\Expectation */ public function shouldNotReceive(...$args) { reset($this->_expectations); $first = current($this->_expectations); return call_user_func_array(array($first->getMock(), 'shouldNotReceive'), $args); } /** * Return the string summary of this composite expectation * * @return string */ public function __toString() { $return = '['; $parts = array(); foreach ($this->_expectations as $exp) { $parts[] = (string) $exp; } $return .= implode(', ', $parts) . ']'; return $return; } }