public void ShouldReturnStudentWhenEmailExists() { var exp = StudentQueries.GetStudentInfoByEmail("*****@*****.**"); var studn = _students.AsQueryable().Where(exp).FirstOrDefault(); Assert.AreNotEqual(null, studn); }
public void ShouldReturnStudentWhenEmailExists() { var exp = StudentQueries.GetStudentInfoByEmail("*****@*****.**"); var studn = _students.AsQueryable().Where(exp).FirstOrDefault(); Assert.AreNotEqual(null, studn); }