Exemple #1
0
 /**
  * ensure the record was deleted
  * 
  * @depends testDeleteRecord
  */
 function testRecordDeleted()
 {
     // sleep for atleast one second between methods, it is only 'eventual consistency'
     sleep(1);
     $itemID = $this->test_item_id;
     // run the query
     $result = SimpleDB::get($this->test_domain, $itemID);
     // assert the results were empty
     $this->assertEmpty($result);
 }