public void CallsGetActivityWithTheCorrectActivityId()
        {
            var message = new ActivityByActivityIdQuery { ActivityId = 1 };
            var dataAccess = new Mock<IAllReadyDataAccess>();

            var sut = new ActivityByActivityIdQueryHandler(dataAccess.Object);
            sut.Handle(message);

            dataAccess.Verify(x => x.GetActivity(message.ActivityId), Times.Once());
        }
        public void CallsGetActivityWithTheCorrectActivityId()
        {
            var message = new ActivityByActivityIdQuery {
                ActivityId = 1
            };
            var dataAccess = new Mock <IAllReadyDataAccess>();

            var sut = new ActivityByActivityIdQueryHandler(dataAccess.Object);

            sut.Handle(message);

            dataAccess.Verify(x => x.GetActivity(message.ActivityId), Times.Once());
        }