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

            string[] actual = target.GetMakes(3211);

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

            string[] actual = target.GetMakes(3211);

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

            string[] actual = target.GetMakes(2011);

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

            string[] actual = target.GetMakes(3211);

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

            string[] actual = target.GetMakes(2011);

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

            string[] actual = target.GetMakes(2011);

            Assert.NotNull(actual);
            Assert.NotEqual(0, actual.Length);
        }