public void GetJobById() { //Arrange DbJobPost dbJobPost = new DbJobPost(); //Act JobPost jobPost = dbJobPost.Get(1); //Assert Assert.IsNotNull(jobPost); }
public void GetJobById() { //Arrange DbJobPost dbJobPost = new DbJobPost(); //Act JobPost jobPost = dbJobPost.Get(1); //Assert Assert.IsTrue(jobPost != null); }
/// <summary> /// Returns a single JobPost object from the database by the given id. /// </summary> /// <param name="id"></param> /// <returns></returns> public JobPost Get(int id) { return(dbJobPost.Get(id)); }