public void WhenIsValidMakeWithValidYearAndMake_ReturnsTrue() { this.SetupResolverAndDatabase(); VehicleManufacturerRepository target = new VehicleManufacturerRepository(this.dbContext); bool actual = target.IsValidMake(2010, "Audi"); Assert.True(actual); }
public void WhenIsValidMakeWithInvalidMake_ReturnsFalse() { this.SetupResolverAndDatabase(); VehicleManufacturerRepository target = new VehicleManufacturerRepository(this.dbContext); bool actual = target.IsValidMake(2010, "Innee"); Assert.False(actual); }