public override void Setup() { base.Setup(); this.requestParams = string.Format("?servertimestamp={0}&appversion={1}", this.serverTimestamp, this.appVersion); this.Logger.Debug("Setting up test."); this.localOtaService = new LocalOtaService(); }
public override void TearDown() { base.TearDown(); // await this.localOtaService.Db.Connection.DeleteAllAsync<OtaSetting>(); this.Logger.Debug("Deleted all OtaSettings. Next test"); this.localOtaService = null; }
/// <summary> /// Prevents a default instance of the <see cref="Settings"/> class from being created. /// Initializes a new instance of the <see cref="Settings"/> class. /// </summary> private Settings() { this._localOtaService = new LocalOtaService(); }