public void ProcessOutput_InputObjectPassed_OutputShouldBeValidObject()
        {
            InputBuilder inputBuilder = new InputBuilder();
            var          input        = inputBuilder.GenerateInputFlightProceedFalse();

            ProcessHandler processHandler = new ProcessHandler();
            var            output         = processHandler.ProcessOutput(input);

            Assert.That(output, Is.TypeOf(typeof(Output)));
        }
        public void ProcessOutput_InputObjectPassedScenario1_OutputShouldBeAccurate()
        {
            InputBuilder inputBuilder = new InputBuilder();
            var          input        = inputBuilder.GenerateInputFlightProceedFalse();

            ProcessHandler processHandler = new ProcessHandler();
            var            output         = processHandler.ProcessOutput(input);

            Assert.That(output.Passengers, Is.EqualTo(3));
            Assert.That(output.CostOfFlight, Is.EqualTo(240));
            Assert.That(output.RevenueBeforeDiscount, Is.EqualTo(300));
            Assert.That(output.RevenueAfterDiscount, Is.EqualTo(200));
            Assert.That(output.LoyaltyPointsUsed, Is.EqualTo(0));
            Assert.That(output.Bags, Is.EqualTo(3));
            Assert.That(output.AirlinePassengers, Is.EqualTo(1));
            Assert.That(output.LoyaltyPassengers, Is.EqualTo(1));
            Assert.That(output.GeneralPassengers, Is.EqualTo(1));
            Assert.That(output.CanFlightProceed, Is.EqualTo(false));
        }