public async Task Handle_InvalidGetUserByIdRequest_ReturnsError()
        {
            var request = new GetUserByIdRequest {
                Id = 100
            };
            var response = await Mediator.HandleAsync(request);

            Assert.IsTrue(response.HasErrors);
        }
        public async Task Handle_GetUserByIdRequest_GetsUser()
        {
            var request = new GetUserByIdRequest {
                Id = _user.Id
            };
            var response = await Mediator.HandleAsync(request);

            Assert.IsFalse(response.HasErrors);
            Assert.IsNotNull(response.Result);
            Assert.AreEqual(_user.Id, response.Result.Id);
            Assert.AreEqual(_user.Name, response.Result.Name);
        }