public void GetSchoolsForDeclaration_NotExist() { var repo = new StudentDeclarationRepository(_context); var id = Guid.NewGuid(); var result = repo.GetSchools(id).ToList(); Assert.IsTrue(result.Count() == 0); }
public void GetSchoolsForDeclaration_IsExist() { var repo = new StudentDeclarationRepository(_context); var id = "63BBECCB-E8B2-4EF6-BF36-0F16387F2611".ConvertToGuid(); var result = repo.GetSchools(id).ToList(); Assert.IsTrue(result.Count() > 0); }
public void GetSchoolsForDeclaration_NotExist() { var repo = new StudentDeclarationRepository(_context); var id = Guid.NewGuid(); var result = repo.GetSchools(id).ToList(); Assert.IsTrue(result.Count() == 0); }
public void GetSchoolsForDeclaration_IsExist() { var repo = new StudentDeclarationRepository(_context); var id = "63BBECCB-E8B2-4EF6-BF36-0F16387F2611".ConvertToGuid(); var result = repo.GetSchools(id).ToList(); Assert.IsTrue(result.Count() > 0); }