diff --git a/tests/ZendService/Flickr/OfflineTest.php b/tests/ZendService/Flickr/OfflineTest.php
new file mode 100644
index 0000000..9fde565
--- /dev/null
+++ b/tests/ZendService/Flickr/OfflineTest.php
@@ -0,0 +1,490 @@
+flickr = new Flickr(constant('TESTS_ZEND_SERVICE_FLICKR_ONLINE_APIKEY'));
+ $this->flickrProxy = new TestAsset\FlickrProtectedMethodProxy(
+ constant('TESTS_ZEND_SERVICE_FLICKR_ONLINE_APIKEY')
+ );
+ $this->filesPath = __DIR__ . '/_files';
+
+ $this->httpClientAdapterSocket = new SocketAdapter();
+ $this->httpClientAdapterTest = new TestAdapter();
+ }
+
+ /**
+ * Basic testing to ensure that tagSearch() works as expected
+ *
+ * @return void
+ */
+ public function testTagSearchBasic()
+ {
+ $this->flickr->getHttpClient()->setAdapter($this->httpClientAdapterTest);
+
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__));
+
+ $options = array(
+ 'per_page' => 10,
+ 'page' => 1,
+ 'tag_mode' => 'or',
+ 'extras' => 'license, date_upload, date_taken, owner_name, icon_server'
+ );
+
+ $resultSet = $this->flickr->tagSearch('php', $options);
+
+ $this->assertEquals(4285, $resultSet->totalResultsAvailable);
+ $this->assertEquals(10, $resultSet->totalResults());
+ $this->assertEquals(10, $resultSet->totalResultsReturned);
+ $this->assertEquals(1, $resultSet->firstResultPosition);
+
+ $this->assertEquals(0, $resultSet->key());
+
+ try {
+ $resultSet->seek(-1);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->seek(9);
+
+ try {
+ $resultSet->seek(10);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->rewind();
+
+ $resultSetIds = array(
+ '428222530',
+ '427883929',
+ '427884403',
+ '427887192',
+ '427883923',
+ '427884394',
+ '427883930',
+ '427884398',
+ '427883924',
+ '427884401'
+ );
+
+ $this->assertTrue($resultSet->valid());
+
+ foreach ($resultSetIds as $resultSetId) {
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__ . "-result_$resultSetId"));
+ $result = $resultSet->current();
+ $this->assertInstanceOf('Zend\Service\Flickr\Result', $result);
+ $resultSet->next();
+ }
+
+ $this->assertFalse($resultSet->valid());
+ }
+
+ /**
+ * Ensures that userSearch() throws an exception when an invalid username is given
+ *
+ * @return void
+ */
+ public function testUserSearchExceptionUsernameInvalid()
+ {
+ $this->flickr->getHttpClient()->setAdapter($this->httpClientAdapterTest);
+
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__));
+
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\RuntimeException',
+ 'User not found'
+ );
+ $this->flickr->userSearch('2e38a9d9425d7e2c9d0788455e9ccc61');
+ }
+
+ /**
+ * Ensures that userSearch() throws an exception when an invalid e-mail address is given
+ *
+ * @return void
+ */
+ public function testUserSearchExceptionEmailInvalid()
+ {
+ $this->flickr->getHttpClient()->setAdapter($this->httpClientAdapterTest);
+
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__));
+
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\RuntimeException',
+ 'User not found'
+ );
+ $this->flickr->userSearch('2e38a9d9425d7e2c9d0788455e9ccc61@example.com');
+ }
+
+ /**
+ * Ensures that getIdByUsername() throws an exception given an empty argument
+ *
+ * @return void
+ */
+ public function testGetIdByUsernameExceptionUsernameEmpty()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'supply a username'
+ );
+ $this->flickr->getIdByUsername('0');
+ }
+
+ /**
+ * Ensures that getIdByEmail() throws an exception given an empty argument
+ *
+ * @return void
+ */
+ public function testGetIdByEmailExceptionEmailEmpty()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'supply an e-mail'
+ );
+ $this->flickr->getIdByEmail('0');
+ }
+
+ /**
+ * Ensures that getImageDetails() throws an exception given an empty argument
+ *
+ * @return void
+ */
+ public function testGetImageDetailsExceptionIdEmpty()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'supply a photo'
+ );
+ $this->flickr->getImageDetails('0');
+ }
+
+ /**
+ * Ensures that validateUserSearch() throws an exception when the per_page option is invalid
+ *
+ * @return void
+ */
+ public function testValidateUserSearchExceptionPerPageInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\DomainException',
+ '"per_page" option'
+ );
+ $this->flickrProxy->proxyValidateUserSearch(array('per_page' => -1));
+ }
+
+ /**
+ * Ensures that validateUserSearch() throws an exception when the page option is invalid
+ *
+ * @return void
+ */
+ public function testValidateUserSearchExceptionPageInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\DomainException',
+ '"page" option'
+ );
+ $this->flickrProxy->proxyValidateUserSearch(array('per_page' => 10, 'page' => 'foo'));
+ }
+
+ /**
+ * Ensures that validateTagSearch() throws an exception when the per_page option is invalid
+ *
+ * @return void
+ */
+ public function testValidateTagSearchExceptionPerPageInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\DomainException',
+ '"per_page" option'
+ );
+ $this->flickrProxy->proxyValidateTagSearch(array('per_page' => -1));
+ }
+
+ /**
+ * Ensures that validateTagSearch() throws an exception when the page option is invalid
+ *
+ * @return void
+ */
+ public function testValidateTagSearchExceptionPageInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\DomainException',
+ '"page" option'
+ );
+ $this->flickrProxy->proxyValidateTagSearch(array('per_page' => 10, 'page' => 1.23));
+ }
+
+ /**
+ * Ensures that compareOptions() throws an exception when an option is invalid
+ *
+ * @return void
+ */
+ public function testCompareOptionsExceptionOptionInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'parameters are invalid'
+ );
+ $this->flickrProxy->proxyCompareOptions(array('unexpected' => null), array());
+ }
+
+ /**
+ * Ensures that tagSearch() throws an exception when an option is invalid
+ *
+ * @return void
+ */
+ public function testTagSearchExceptionOptionInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'parameters are invalid'
+ );
+ $this->flickr->tagSearch('irrelevant', array('unexpected' => null));
+ }
+
+ /**
+ * Basic testing to ensure that groupPoolGetPhotos() works as expected
+ *
+ * @return void
+ */
+ public function testGroupPoolGetPhotosBasic()
+ {
+ $this->flickr->getHttpClient()->setAdapter($this->httpClientAdapterTest);
+
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__));
+
+ $options = array(
+ 'per_page' => 10,
+ 'page' => 1,
+ 'extras' => 'license, date_upload, date_taken, owner_name, icon_server'
+ );
+
+ $resultSet = $this->flickr->groupPoolGetPhotos('20083316@N00', $options);
+
+ $this->assertEquals(4285, $resultSet->totalResultsAvailable);
+ $this->assertEquals(10, $resultSet->totalResults());
+ $this->assertEquals(10, $resultSet->totalResultsReturned);
+ $this->assertEquals(1, $resultSet->firstResultPosition);
+
+ $this->assertEquals(0, $resultSet->key());
+
+ try {
+ $resultSet->seek(-1);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->seek(9);
+
+ try {
+ $resultSet->seek(10);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->rewind();
+
+ $resultSetIds = array(
+ '428222530',
+ '427883929',
+ '427884403',
+ '427887192',
+ '427883923',
+ '427884394',
+ '427883930',
+ '427884398',
+ '427883924',
+ '427884401'
+ );
+
+ $this->assertTrue($resultSet->valid());
+
+ foreach ($resultSetIds as $resultSetId) {
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__ . "-result_$resultSetId"));
+ $result = $resultSet->current();
+ $this->assertInstanceOf('Zend\Service\Flickr\Result', $result);
+ $resultSet->next();
+ }
+
+ $this->assertFalse($resultSet->valid());
+ }
+
+ /**
+ * Ensures that groupPoolGetPhotos() throws an exception when an option is invalid
+ *
+ * @return void
+ */
+ public function testGroupPoolGetPhotosExceptionOptionInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'parameters are invalid'
+ );
+ $this->flickr->groupPoolGetPhotos('irrelevant', array('unexpected' => null));
+ }
+
+ /**
+ * Ensures that validateGroupPoolGetPhotos() throws an exception when the per_page option is invalid
+ *
+ * @return void
+ */
+ public function testValidateGroupPoolGetPhotosExceptionPerPageInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\DomainException',
+ '"per_page" option'
+ );
+ $this->flickrProxy->proxyValidateGroupPoolGetPhotos(array('per_page' => -1));
+ }
+
+ /**
+ * Ensures that validateGroupPoolGetPhotos() throws an exception when the page option is invalid
+ *
+ * @return void
+ */
+ public function testValidateGroupPoolGetPhotosExceptionPageInvalid()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\DomainException',
+ '"page" option'
+ );
+ $this->flickrProxy->proxyValidateGroupPoolGetPhotos(array('per_page' => 10, 'page' => 1.23));
+ }
+
+ /**
+ * Ensures that groupPoolGetPhotos() throws an exception when an invalid group_id is given
+ *
+ * @return void
+ */
+ public function testGroupPoolGetPhotosExceptionGroupIdInvalid()
+ {
+ $this->flickr->getHttpClient()->setAdapter($this->httpClientAdapterTest);
+
+ $this->httpClientAdapterTest->setResponse($this->loadResponse(__FUNCTION__));
+
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\RuntimeException',
+ 'Group not found'
+ );
+ $this->flickr->groupPoolGetPhotos('2e38a9d9425d7e2c9d0788455e9ccc61');
+ }
+
+ /**
+ * Ensures that groupPoolGetPhotos() throws an exception when an invalid group_id is given
+ *
+ * @return void
+ */
+ public function testGroupPoolGetPhotosExceptionGroupIdEmpty()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'supply a group'
+ );
+ $this->flickr->groupPoolGetPhotos('0');
+ }
+
+ /**
+ * Ensures that groupPoolGetPhotos() throws an exception when an array is given for group_id
+ *
+ * @return void
+ */
+ public function testGroupPoolGetPhotosExceptionGroupIdArray()
+ {
+ $this->setExpectedException(
+ 'Zend\Service\Flickr\Exception\InvalidArgumentException',
+ 'supply a group'
+ );
+ $this->flickr->groupPoolGetPhotos(array());
+ }
+
+ /**
+ * Utility method that saves an HTTP response to a file
+ *
+ * @param string $name
+ * @return void
+ */
+ protected function saveResponse($name)
+ {
+ file_put_contents("$this->filesPath/$name.response",
+ $this->flickr->getHttpClient()->getLastResponse()->asString());
+ }
+
+ /**
+ * Utility method for returning a string HTTP response, which is loaded from a file
+ *
+ * @param string $name
+ * @return string
+ */
+ protected function loadResponse($name)
+ {
+ return file_get_contents("$this->filesPath/$name.response");
+ }
+}
diff --git a/tests/ZendService/Flickr/OnlineTest.php b/tests/ZendService/Flickr/OnlineTest.php
new file mode 100644
index 0000000..5fc32a3
--- /dev/null
+++ b/tests/ZendService/Flickr/OnlineTest.php
@@ -0,0 +1,203 @@
+markTestSkipped('Zend_Service_Flickr online tests are not enabled');
+ }
+
+ $this->flickr = new Flickr(constant('TESTS_ZEND_SERVICE_FLICKR_ONLINE_APIKEY'));
+
+ $this->httpClientAdapterSocket = new SocketAdapter();
+
+ $this->flickr->getRestClient()
+ ->getHttpClient()
+ ->setAdapter($this->httpClientAdapterSocket);
+ }
+
+ /**
+ * Basic testing to ensure that groupPoolGetPhotos works as expected
+ *
+ * @return void
+ */
+ public function testGroupPoolGetPhotosBasic()
+ {
+ $options = array('per_page' => 10,
+ 'page' => 1,
+ 'extras' => 'license, date_upload, date_taken, owner_name, icon_server');
+
+ $resultSet = $this->flickr->groupPoolGetPhotos('20083316@N00', $options);
+
+ $this->assertGreaterThan(20000, $resultSet->totalResultsAvailable);
+ $this->assertEquals(10, $resultSet->totalResults());
+ $this->assertEquals(10, $resultSet->totalResultsReturned);
+ $this->assertEquals(1, $resultSet->firstResultPosition);
+
+ $this->assertEquals(0, $resultSet->key());
+
+ try {
+ $resultSet->seek(-1);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->seek(9);
+
+ try {
+ $resultSet->seek(10);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->rewind();
+
+ $count = 0;
+ foreach ($resultSet as $result) {
+ $this->assertInstanceOf('Zend\Service\Flickr\Result', $result);
+ $count++;
+ }
+
+ $this->assertEquals(10, $count);
+ }
+
+ /**
+ * Basic testing to ensure that userSearch() works as expected
+ *
+ * @return void
+ */
+ public function testUserSearchBasic()
+ {
+ $options = array('per_page' => 10,
+ 'page' => 1,
+ 'extras' => 'license, date_upload, date_taken, owner_name, icon_server');
+
+ $resultSet = $this->flickr->userSearch('darby.felton@yahoo.com', $options);
+
+ $this->assertEquals(16, $resultSet->totalResultsAvailable);
+ $this->assertEquals(10, $resultSet->totalResults());
+ $this->assertEquals(10, $resultSet->totalResultsReturned);
+ $this->assertEquals(1, $resultSet->firstResultPosition);
+
+ $this->assertEquals(0, $resultSet->key());
+
+ try {
+ $resultSet->seek(-1);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->seek(9);
+
+ try {
+ $resultSet->seek(10);
+ $this->fail('Expected OutOfBoundsException not thrown');
+ } catch (OutOfBoundsException $e) {
+ $this->assertContains('Illegal index', $e->getMessage());
+ }
+
+ $resultSet->rewind();
+
+ $count = 0;
+ foreach ($resultSet as $result) {
+ $this->assertInstanceOf('Zend\Service\Flickr\Result', $result);
+ $count++;
+ }
+
+ $this->assertEquals(10, $count);
+ }
+
+ /**
+ * Basic testing to ensure that getIdByUsername() works as expected
+ *
+ * @return void
+ */
+ public function testGetIdByUsernameBasic()
+ {
+ $userId = $this->flickr->getIdByUsername('darby.felton');
+ $this->assertEquals('7414329@N07', $userId);
+ }
+
+ /**
+ * Ensures that tagSearch() works as expected with the sort option
+ *
+ * @return void
+ */
+ public function testTagSearchOptionSort()
+ {
+ $options = array(
+ 'per_page' => 10,
+ 'page' => 1,
+ 'tag_mode' => 'or',
+ 'sort' => 'date-taken-asc',
+ 'extras' => 'license, date_upload, date_taken, owner_name, icon_server'
+ );
+
+ $resultSet = $this->flickr->tagSearch('php', $options);
+
+ $this->assertTrue(10 < $resultSet->totalResultsAvailable);
+ $this->assertEquals(10, $resultSet->totalResults());
+ $this->assertEquals(10, $resultSet->totalResultsReturned);
+ $this->assertEquals(1, $resultSet->firstResultPosition);
+
+ foreach ($resultSet as $result) {
+ $this->assertInstanceOf('Zend\Service\Flickr\Result', $result);
+ if (isset($dateTakenPrevious)) {
+ $this->assertTrue(strcmp($result->datetaken, $dateTakenPrevious) > 0);
+ }
+ $dateTakenPrevious = $result->datetaken;
+ }
+ }
+
+ /**
+ * @group ZF-6397
+ */
+ public function testTotalForEmptyResultSet()
+ {
+ $this->assertEquals(0, $this->flickr->tagSearch('zendflickrtesttagnoresults')->totalResults());
+ }
+}
diff --git a/tests/ZendService/Flickr/TestAsset/FlickrProtectedMethodProxy.php b/tests/ZendService/Flickr/TestAsset/FlickrProtectedMethodProxy.php
new file mode 100644
index 0000000..cd0dc4b
--- /dev/null
+++ b/tests/ZendService/Flickr/TestAsset/FlickrProtectedMethodProxy.php
@@ -0,0 +1,43 @@
+validateUserSearch($options);
+ }
+
+ public function proxyValidateTagSearch(array $options)
+ {
+ $this->validateTagSearch($options);
+ }
+
+ public function proxyValidateGroupPoolGetPhotos(array $options)
+ {
+ $this->validateGroupPoolGetPhotos($options);
+ }
+
+ public function proxyCompareOptions(array $options, array $validOptions)
+ {
+ $this->compareOptions($options, $validOptions);
+ }
+}
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883923.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883923.response
new file mode 100644
index 0000000..14179fc
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883923.response
@@ -0,0 +1,16 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:47 GMT
+Server: Apache/2.0.52
+Content-length: 828
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883924.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883924.response
new file mode 100644
index 0000000..fc7c240
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883924.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:48 GMT
+Server: Apache/2.0.52
+Content-length: 1012
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883929.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883929.response
new file mode 100644
index 0000000..e7abc41
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883929.response
@@ -0,0 +1,16 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:46 GMT
+Server: Apache/2.0.52
+Content-length: 829
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883930.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883930.response
new file mode 100644
index 0000000..0c6facd
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427883930.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:48 GMT
+Server: Apache/2.0.52
+Content-length: 639
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884394.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884394.response
new file mode 100644
index 0000000..c9db414
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884394.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:47 GMT
+Server: Apache/2.0.52
+Content-length: 641
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884398.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884398.response
new file mode 100644
index 0000000..ed426de
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884398.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:48 GMT
+Server: Apache/2.0.52
+Content-length: 1012
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884401.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884401.response
new file mode 100644
index 0000000..25e075d
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884401.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:49 GMT
+Server: Apache/2.0.52
+Content-length: 1012
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884403.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884403.response
new file mode 100644
index 0000000..5edaa17
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427884403.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:46 GMT
+Server: Apache/2.0.52
+Content-length: 639
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427887192.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427887192.response
new file mode 100644
index 0000000..8d3f623
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_427887192.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:47 GMT
+Server: Apache/2.0.52
+Content-length: 639
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_428222530.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_428222530.response
new file mode 100644
index 0000000..5a1c379
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic-result_428222530.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:45 GMT
+Server: Apache/2.0.52
+Content-length: 1020
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic.response
new file mode 100644
index 0000000..30af253
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosBasic.response
@@ -0,0 +1,22 @@
+HTTP/1.1 200 OK
+Date: Wed, 21 Mar 2007 20:00:46 GMT
+Server: Apache/2.0.52
+Content-length: 3023
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosExceptionGroupIdInvalid.response b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosExceptionGroupIdInvalid.response
new file mode 100644
index 0000000..9a11cb6
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testGroupPoolGetPhotosExceptionGroupIdInvalid.response
@@ -0,0 +1,11 @@
+HTTP/1.1 200 OK
+Date: Thu, 29 Mar 2007 23:28:10 GMT
+Server: Apache/2.0.52
+Content-length: 105
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883923.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883923.response
new file mode 100644
index 0000000..14179fc
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883923.response
@@ -0,0 +1,16 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:47 GMT
+Server: Apache/2.0.52
+Content-length: 828
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883924.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883924.response
new file mode 100644
index 0000000..fc7c240
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883924.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:48 GMT
+Server: Apache/2.0.52
+Content-length: 1012
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883929.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883929.response
new file mode 100644
index 0000000..e7abc41
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883929.response
@@ -0,0 +1,16 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:46 GMT
+Server: Apache/2.0.52
+Content-length: 829
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883930.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883930.response
new file mode 100644
index 0000000..0c6facd
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427883930.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:48 GMT
+Server: Apache/2.0.52
+Content-length: 639
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884394.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884394.response
new file mode 100644
index 0000000..c9db414
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884394.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:47 GMT
+Server: Apache/2.0.52
+Content-length: 641
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884398.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884398.response
new file mode 100644
index 0000000..ed426de
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884398.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:48 GMT
+Server: Apache/2.0.52
+Content-length: 1012
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884401.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884401.response
new file mode 100644
index 0000000..25e075d
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884401.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:49 GMT
+Server: Apache/2.0.52
+Content-length: 1012
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884403.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884403.response
new file mode 100644
index 0000000..5edaa17
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427884403.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:46 GMT
+Server: Apache/2.0.52
+Content-length: 639
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427887192.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427887192.response
new file mode 100644
index 0000000..8d3f623
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_427887192.response
@@ -0,0 +1,15 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:47 GMT
+Server: Apache/2.0.52
+Content-length: 639
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic-result_428222530.response b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_428222530.response
new file mode 100644
index 0000000..5a1c379
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic-result_428222530.response
@@ -0,0 +1,17 @@
+HTTP/1.1 200 OK
+Date: Thu, 22 Mar 2007 19:09:45 GMT
+Server: Apache/2.0.52
+Content-length: 1020
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testTagSearchBasic.response b/tests/ZendService/Flickr/_files/testTagSearchBasic.response
new file mode 100644
index 0000000..30af253
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testTagSearchBasic.response
@@ -0,0 +1,22 @@
+HTTP/1.1 200 OK
+Date: Wed, 21 Mar 2007 20:00:46 GMT
+Server: Apache/2.0.52
+Content-length: 3023
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testUserSearchExceptionEmailInvalid.response b/tests/ZendService/Flickr/_files/testUserSearchExceptionEmailInvalid.response
new file mode 100644
index 0000000..29fb4e7
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testUserSearchExceptionEmailInvalid.response
@@ -0,0 +1,11 @@
+HTTP/1.1 200 OK
+Date: Thu, 29 Mar 2007 23:28:10 GMT
+Server: Apache/2.0.52
+Content-length: 104
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+
diff --git a/tests/ZendService/Flickr/_files/testUserSearchExceptionUsernameInvalid.response b/tests/ZendService/Flickr/_files/testUserSearchExceptionUsernameInvalid.response
new file mode 100644
index 0000000..29fb4e7
--- /dev/null
+++ b/tests/ZendService/Flickr/_files/testUserSearchExceptionUsernameInvalid.response
@@ -0,0 +1,11 @@
+HTTP/1.1 200 OK
+Date: Thu, 29 Mar 2007 23:28:10 GMT
+Server: Apache/2.0.52
+Content-length: 104
+Connection: close
+Content-type: text/xml; charset=utf-8
+
+
+
+
+