/** * @param \Kodova\Poser\Invocation\Answer $answer * @return Stubbable|void */ public function thenAnswer(Answer $answer) { $this->invocation->markStubbed(); $this->stub->addAnswer($answer); $this->invocationContainer->addStub($this->stub); }