/** * Ensures that _validateUserSearch() throws an exception when the page option is invalid * * @return void */ public function testValidateUserSearchExceptionPageInvalid() { try { $this->_flickrProxy->proxyValidateUserSearch(array('per_page' => 10, 'page' => 1.23)); $this->fail('Expected Zend_Service_Exception not thrown'); } catch (Zend_Service_Exception $e) { $this->assertContains('"page" option', $e->getMessage()); } }