private List<TaxSlab> GetAppropriateTaxSlabs(User taxPayer) { if (taxPayer.IsFemale()){ return _femaleTaxSlabs; } return _maleTaxSlabs; }
private List <TaxSlab> GetAppropriateTaxSlabs(User taxPayer) { if (taxPayer.IsFemale()) { return(_femaleTaxSlabs); } return(_maleTaxSlabs); }
public void ShouldReturnTrueIfTaxPayerIsFemale() { User taxPayer = new User(0, false, Gender.Female); Assert.True(taxPayer.IsFemale()); }