Example #1
0
 /**
  * Set expected method calls
  *
  * @param mixed
  * @return ehough_mockery_mockery_Expectation
  */
 public function shouldReceive()
 {
     //http://stackoverflow.com/questions/4979507/difference-in-behaviour-of-func-num-args-func-get-arg-and-func-get-args-from-php
     $args = func_get_args();
     $lastExpectation = ehough_mockery_Mockery::parseShouldReturnArgs($this, $args, array($this, '_callbackShouldReceive'));
     return $lastExpectation;
 }