protected void WriteEventToDb(IGeofenceEvent geofenceEvent, string errorMessage) { var task = GeofenceRepo.StoreEvent(geofenceEvent); task.Wait(); Assert.AreEqual(1, task.Result, errorMessage); }
protected void WriteEventToDb(IGeofenceEvent geofenceEvent) { var task = GeofenceRepo.StoreEvent(geofenceEvent); task.Wait(); Assert.AreEqual(1, task.Result, "Geofence event not written"); }