public async Task Sync_Records_If_Missing() { cv = new CheckStatusValidation(nuContext.Object); moqStatus.SetupData(); var count = await moqStatus.Object.CountAsync(); Assert.IsTrue(count == 0); Array.ForEach(defCheckStatus.ToArray(), a => { moqStatus.Object.Add(a); }); Assert.AreEqual(moqStatus.Object.Count(), defCheckStatus.Count); }
public void CheckStatusValidationTestInitialize() { cv = new CheckStatusValidation(); defCheckStatus = cv.DefaultCheckStatus; }