public function testRemoveReturnValue() { $this->method->setReturnValue(new ReturnValue('42', 'int', 'The description')); $this->method->removeReturnValue(); $this->assertNull($this->method->getReturnValue()); }