/**
  * @covers Moneybird\Estimate_Service::getSyncList
  */
 public function testGetSyncList()
 {
     $revision = $this->object->revision;
     $this->assertNotNull($revision, 'Estimate ' . self::$estimateId . ' not in synclist');
     $this->object->setData(array('firstname' => 'Test' . time()));
     $this->object->save($this->service);
     sleep(1);
     $newRevision = null;
     $syncList = $this->service->getSyncList();
     $this->assertInstanceOf('Moneybird\\Estimate\\ArrayObject', $syncList);
     foreach ($syncList as $sync) {
         if ($sync->id == self::$estimateId) {
             $newRevision = $sync->revision;
         }
     }
     $this->assertNotNull($newRevision, 'Estimate ' . self::$estimateId . ' not in synclist');
     $this->assertGreaterThan($revision, $newRevision);
 }