public function testCanBuildUpCommands()
 {
     $c = new Operation(array());
     $c->setName('foo')->setClass('Baz')->setDeprecated(false)->setSummary('summary')->setDocumentationUrl('http://www.foo.com')->setHttpMethod('PUT')->setResponseNotes('oh')->setResponseClass('string')->setUri('/foo/bar')->addParam(new Parameter(array('name' => 'test')));
     $this->assertEquals('foo', $c->getName());
     $this->assertEquals('Baz', $c->getClass());
     $this->assertEquals(false, $c->getDeprecated());
     $this->assertEquals('summary', $c->getSummary());
     $this->assertEquals('http://www.foo.com', $c->getDocumentationUrl());
     $this->assertEquals('PUT', $c->getHttpMethod());
     $this->assertEquals('oh', $c->getResponseNotes());
     $this->assertEquals('string', $c->getResponseClass());
     $this->assertEquals('/foo/bar', $c->getUri());
     $this->assertEquals(array('test'), $c->getParamNames());
 }