public void CreateUserFailed()
        {
            var mockUserFlightRepository = new Mock <IRepositoryUserFlight>();

            mockUserFlightRepository.Setup(x => x.CreateUserFlight(It.IsAny <UserFlight>())).Returns(0);

            var businessUserFlight = new BusinessUserFlight(mockUserFlightRepository.Object);
            var response           = businessUserFlight.CreateUserFlight(GetData());

            Assert.IsNotNull(response);
            Assert.AreEqual(0, response);
        }
        public void GetUserFailedReturnEmptyUser()
        {
            var mockUserFlightRepository = new Mock <IRepositoryUserFlight>();

            mockUserFlightRepository.Setup(x => x.GetUserFlight(It.IsAny <int>())).Returns(new UserFlight());

            var businessUserFlight = new BusinessUserFlight(mockUserFlightRepository.Object);
            var response           = businessUserFlight.GetUserFlight(1111);

            Assert.IsNotNull(response);
            Assert.AreEqual(0, response.DocumentNumber);
        }