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