public void DeleteAllClassRecords_Succeed() { var dbContext = new SQLConnType(@"localhost\SqlExpress14", "CSG", "sa", "@1Mops4moa"); var sysUnderTest = new ClassRepo(dbContext); sysUnderTest.DeleteAllAsync(); var result = sysUnderTest.GetAllAsync(); Assert.True(result.Count == 0); }