public function testClearArgument() { $this->method->addArgument($arg1 = new Argument('arg1')); $this->method->addArgument($arg2 = new Argument('arg2')); $this->method->clearArguments(); $this->assertSame(array(), $this->method->getArguments()); }