public void When_IsApplicable_Called_For_NewOrRelativelyNewVehicles_Then_Result_ShouldBe_False() { // arrange var zeroYearsStatery = new OlderAgeStrategy(); var vehicaleAge = 2; var expected = false; // act var result = zeroYearsStatery.IsApplicable(vehicaleAge); // assert Assert.AreEqual(expected, result); }
public void When_IsApplicable_Called_For_OlderVehicles_Then_Result_ShouldBe_True() { // arrange var zeroYearsStatery = new OlderAgeStrategy(); var vehicaleAge = 11; var expected = true; // act var result = zeroYearsStatery.IsApplicable(vehicaleAge); // assert Assert.AreEqual(expected, result); }