/** * Ensures that _compareOptions() throws an exception when an option is invalid * * @return void */ public function testCompareOptionsExceptionOptionInvalid() { try { $this->_flickrProxy->proxyCompareOptions(array('unexpected' => null), array()); $this->fail('Expected Zend_Service_Exception not thrown'); } catch (Zend_Service_Exception $e) { $this->assertContains('parameters are invalid', $e->getMessage()); } }