public void WhenGetModelsWithInvalidMake_ReturnsNull()
        {
            var target = new VehicleManufacturerRepository();

            string[] actual = target.GetModels(2011, "HotWheels");

            Assert.Null(actual);
        }
        public void WhenGetModelsWithInvalidYear_ReturnsNull()
        {
            var target = new VehicleManufacturerRepository();

            string[] actual = target.GetModels(3211, "BMW");

            Assert.Null(actual);
        }
        public void WhenGetModelsWithInvalidYear_ReturnsNull()
        {
            var target = new VehicleManufacturerRepository();

            string[] actual = target.GetModels(3211, "BMW");

            Assert.Null(actual);
        }
        public void WhenGetModelsWithValidYearAndMake_ReturnsModels()
        {
            var target = new VehicleManufacturerRepository();

            string[] actual = target.GetModels(2010, "BMW");

            Assert.NotNull(actual);
            Assert.NotEqual(0, actual.Length);
        }
        public void WhenGetModelsWithInvalidYear_ReturnsNull()
        {
            this.SetupResolverAndDatabase();
            VehicleManufacturerRepository target = new VehicleManufacturerRepository(this.dbContext);

            string[] actual = target.GetModels(3211, "BMW");

            Assert.Null(actual);
        }
        public void WhenGetModelsWithValidYearAndMake_ReturnsModels()
        {
            var target = new VehicleManufacturerRepository();

            string[] actual = target.GetModels(2010, "BMW");

            Assert.NotNull(actual);
            Assert.NotEqual(0, actual.Length);
        }
        public void WhenGetModelsWithValidYearAndMake_ReturnsModels()
        {
            this.SetupResolverAndDatabase();
            VehicleManufacturerRepository target = new VehicleManufacturerRepository(this.dbContext);

            string[] actual = target.GetModels(2010, "BMW");

            Assert.NotNull(actual);
            Assert.NotEqual(0, actual.Length);
        }
        public void WhenGetModelsWithInvalidMake_ReturnsNull()
        {
            var target = new VehicleManufacturerRepository();

            string[] actual = target.GetModels(2011, "HotWheels");

            Assert.Null(actual);
        }