public function testSaveFailed()
 {
     $url = '/accounts/1/lists/505454';
     $data = $this->adapter->request('GET', $url);
     $entry = new AWeberEntry($data, $url, $this->adapter);
     $entry->name = 'foobarbaz';
     $this->setExpectedException('AWeberAPIException', 'Simulated Exception');
     $resp = $entry->save();
 }
 public function testSaveFailed()
 {
     $url = '/accounts/1/lists/303450';
     $data = $this->adapter->request('GET', $url);
     $entry = new AWeberEntry($data, $url, $this->adapter);
     $entry->name = 'foobarbaz';
     $resp = $entry->save();
     $this->assertIdentical($resp, false);
 }