/** * @covers phpDocumentor\Descriptor\MethodDescriptor::getResponse */ public function testRetrieveReturnTagForResponse() { $mock = new \stdClass(); $this->assertNull($this->fixture->getResponse()); $this->fixture->getTags()->set('return', new Collection(array($mock))); $this->assertSame($mock, $this->fixture->getResponse()); }