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

            bool actual = target.IsValidModel(2010, "Audi", "A422L16");

            Assert.False(actual);
        }
        public void WhenIsValidModelWithValidYearAndMake_ReturnsTrue()
        {
            var target = new VehicleManufacturerRepository();

            bool actual = target.IsValidModel(2010, "Audi", "A4");

            Assert.True(actual);
        }
        public void WhenIsValidModelWithInvalidModel_ReturnsFalse()
        {
            this.SetupResolverAndDatabase();
            VehicleManufacturerRepository target = new VehicleManufacturerRepository(this.dbContext);

            bool actual = target.IsValidModel(2010, "Audi", "A422L16");

            Assert.False(actual);
        }
        public void WhenIsValidModelWithValidYearAndMake_ReturnsTrue()
        {
            this.SetupResolverAndDatabase();
            VehicleManufacturerRepository target = new VehicleManufacturerRepository(this.dbContext);

            bool actual = target.IsValidModel(2010, "Audi", "A4");

            Assert.True(actual);
        }
        public void WhenIsValidModelWithInvalidModel_ReturnsFalse()
        {
            var target = new VehicleManufacturerRepository();

            bool actual = target.IsValidModel(2010, "Audi", "A422L16");

            Assert.False(actual);
        }
        public void WhenIsValidModelWithValidYearAndMake_ReturnsTrue()
        {
            var target = new VehicleManufacturerRepository();

            bool actual = target.IsValidModel(2010, "Audi", "A4");

            Assert.True(actual);
        }