Esempio n. 1
0
        public async void verifyWishlistEntryTest_HappyPath()
        {
            int      studentId = 2;
            int      courseId  = 3;
            Wishlist entry     = _context.Wishlist.Find(studentId, courseId);

            Assert.NotNull(entry);
            int outcome = await _wishlistService.verifyWishlistEntry(entry.studentId, entry.courseId);

            Assert.True(outcome == 0, "course 3 is in student 2's wishlist");
        }