public function testSetArgument() {
$def = new DefinitionDecorator('foo');
$this
->assertEquals(array(), $def
->getArguments());
$this
->assertSame($def, $def
->replaceArgument(0, 'foo'));
$this
->assertEquals(array(
'index_0' => 'foo',
), $def
->getArguments());
}