public void FilterByCompanyName_CantFilterFlightsBecauseCompanyDoesnExist_ReturnsNothing()
        {
            var view = new LowFareAvailabilityContainerMockup();

            view.FilterByCompanyName("American");

            Assert.IsFalse(view.FilterOK, "No se pudo filter los vuelos de volaris.");
        }
        public void FilterByCompanyName_EmptyCompanyName_ReturnsNothing()
        {
            var view = new LowFareAvailabilityContainerMockup();

            view.FilterByCompanyName("");

            Assert.IsFalse(view.FilterOK, "No se pudo filter los vuelos de volaris.");
        }
        public void ValidateInput_ValidationSuccess_ReturnsNothing()
        {
            var view = new LowFareAvailabilityContainerMockup();

            view.SelectedFlight = new VolarisFlight();
            view.ValidateInput();
            Assert.IsTrue(view.IsValid, "Ocurrio un errror al volverse al validar la vista.");
        }
        public void FilterByCompanyName_CanFilterFlights_ReturnsNothing()
        {
            var view = new LowFareAvailabilityContainerMockup();

            view.FilterByCompanyName("Volaris");

            Assert.IsTrue(view.FilterOK, "No se pudo filter los vuelos de volaris.");
        }
        public void ValidateInput_ValidationFail_ReturnsException()
        {
            var view = new LowFareAvailabilityContainerMockup();

            Assert.Throws <NoSelectedFlightException>(view.ValidateInput);
        }