public void GetTotalTaxRatioShouldWorkCorrectly(ProductType type) { //Act var sut = TotalTaxRatio.Get(type); //Assert sut.Should().NotBe(0); }
public void GetTotalTaxRatioShouldWorkCorrectlyForMortgageLoan(ProductType type) { //Act var sut = TotalTaxRatio.Get(type); //Assert sut.Should().Be(0); }
public void WhenProductTypeIsZero_GetTotalTaxRatioShouldThrowArgumentException() { //Act var exception = Record.Exception(() => TotalTaxRatio.Get(0)); //Assert exception.Should().NotBeNull(); exception.GetType().Should().Be(typeof(ArgumentException)); }