public async void addCoursetoStudentWishlistTest_HappyPath() { int outcome = await _wishlistService.addCoursetoStudentWishlist(2, 6); Assert.True(outcome == 0); List <int> wishlist = _context.Wishlist.Where(w => w.studentId == 2).Select(w => w.courseId).ToList(); Assert.True(wishlist.Contains(6), "student 2 has course 6 in wishlist"); }