public function testArgumentCollectionCreateAndWalk()
 {
     $collection = new ArgumentCollection(new Argument('arg0', new TypeCollection(new Type\AnyType())), new Argument('arg1', new TypeCollection(new Type\AnyType())));
     $collection->addArgument(new Argument('arg2', new TypeCollection(new Type\AnyType())));
     $this->assertTrue($collection->getCount() == 3);
     $this->assertTrue($collection->key() == 'arg0');
     $collection->next();
     $this->assertTrue($collection->key() == 'arg1');
     $collection->next();
     $this->assertTrue($collection->key() == 'arg2');
     $collection->next();
     $this->assertFalse($collection->valid());
     $collection->rewind();
     $this->assertTrue($collection->key() == 'arg0');
 }