Esempio n. 1
0
 public function testGetTopTags()
 {
     try {
         $as = new Zend_Service_Audioscrobbler();
         $response = $as->tagGetTopTags();
         $this->assertNotNull(count($response->tag));
     } catch (Exception $e) {
         $this->fail("Exception: [" . $e->getMessage() . "] thrown by test");
     }
 }
Esempio n. 2
0
 public function testGetTopTags()
 {
     $this->markTestSkipped('Invalid test, communicating with real-world service.');
     try {
         $as = new Zend_Service_Audioscrobbler();
         $response = $as->tagGetTopTags();
         $this->assertNotNull(count($response->tag));
     } catch (Exception $e) {
         $this->fail("Exception: [" . $e->getMessage() . "] thrown by test");
     }
 }