Esempio n. 1
0
        public void GetFutureAttendance_AttandanceForGivenUserAndGigIdExists_ShouldBeReturn()
        {
            string userId     = "1";
            int    gigId      = 1;
            var    attendance = new Attendance {
                AttendeeId = userId, GigId = gigId
            };

            mockAttandance.SetSource(new[] { attendance });
            var attendances = _attendanceRepository.GetAttendace(2, userId);

            attendances.Should().Be(attendance);
        }