/** * @covers phpDocumentor\Descriptor\Tag\MethodDescriptor::setArguments() * @covers phpDocumentor\Descriptor\Tag\MethodDescriptor::getArguments() */ public function testSetAndGetArguments() { $expected = new Collection(array('a' => 'b')); $this->assertInstanceOf('phpDocumentor\\Descriptor\\Collection', $this->fixture->getArguments()); $this->fixture->setArguments($expected); $result = $this->fixture->getArguments(); $this->assertSame($expected, $result); }