public void FindAllJobPost() { //Arrange DbJobPost dbJobPost = new DbJobPost(); //Act List <JobPost> jobPostList = dbJobPost.GetAll(); //Assert Assert.IsTrue(jobPostList.Count > 1); }
/// <summary> /// Returns a list of all JobPost in the database. /// </summary> /// <returns></returns> public List <JobPost> GetAll() { return(dbJobPost.GetAll()); }