public function testConstructorShouldSetObjectStateFromOptions() { $options = array('returnType' => 'string', 'parameters' => array('bool', 'base64', 'struct')); $prototype = new Zend_Server_Method_Prototype($options); $test = $prototype->toArray(); $this->assertSame($options, $test); }