/** * (non-PHPdoc) * @see mock/LimeMockBehaviourInterface#expect($invocation) */ public function expect(LimeMockInvocationExpectation $invocation) { $this->invocations[] = $invocation; if ($this->options['strict']) { $invocation->strict(); } if ($this->options['nice']) { $invocation->any(); } else { $invocation->once(); } }