public void InsertClassRecord_Succeed() { var dbContext = new SQLConnType(@"localhost\SqlExpress14", "CSG", "sa", "@1Mops4moa"); var sysUnderTest = new ClassRepo(dbContext); var classEnt = new ClassEntity(Guid.NewGuid().ToString()); classEnt.ClassName = "English"; classEnt.Description = "English Poetry"; sysUnderTest.InsertEntityAsync(classEnt); var result = sysUnderTest.GetAllAsync(); Assert.True(result.Count > 0); }