public void Should_fail_on_null_argument()
        {
            const double increaseAmount = 0.1;
            var          jobsWherePremiumIsIncreased = new [] { "Chauffeur" };
            var          driversAndPremiumToIncreasedPremiumBasedOnOccupationTransform = new DriversAndPremiumToIncreasedPremiumBasedOnOccupationTransform(jobsWherePremiumIsIncreased, increaseAmount);

            // ReSharper disable once AssignNullToNotNullAttribute
            driversAndPremiumToIncreasedPremiumBasedOnOccupationTransform.Transform(null);
        }
        public void Should_return_original_premium_when_neither_driver_is_a_chauffeur()
        {
            const double increaseAmount              = 0.1;
            const double expected                    = 500.00;
            const string driversName                 = "name";
            const string driversOccupation           = "Mechanic";
            var          driversDateOfBirth          = DateTime.Now;
            var          driversClaims               = new IClaim[0];
            var          jobsWherePremiumIsIncreased = new [] { "Chauffeur" };
            var          driversAndPremiumToIncreasedPremiumBasedOnOccupationTransform = new DriversAndPremiumToIncreasedPremiumBasedOnOccupationTransform(jobsWherePremiumIsIncreased, increaseAmount);
            var          driver           = new DriverStub(driversName, driversOccupation, driversDateOfBirth, driversClaims);
            var          driverAndPremium = new DriverAndPremium(driver, expected);

            var actual = driversAndPremiumToIncreasedPremiumBasedOnOccupationTransform.Transform(driverAndPremium);

            Assert.AreEqual(expected, actual);
        }