/** * @return $this */ public function andReturnUndefined() { $this->expectation->andReturnUndefined(); return $this; }