public void GetAttendance_GetAttendanceByUser_ShouldContainAttendance() { var att = new Attendance() { AttendeeId = "1", GigId = 1 }; _mockAttends.SetSource(new[] { att }); var res = _attendRepo.GetAttendance("1", 1); res.Should().BeSameAs(att); }
public void GetAttendance_GetAttendanceByUser_ShouldContainAttendance() { var att = new Attendance() { AttendeeId = "1", GigId = 1 }; _mockAttends.SetSource(new[] { att }); var res = _attendRepo.GetAttendance("1", 1); res.Should().BeSameAs(att); }