public void DeleteFees_DoesNothing_ForUnknownVehicle()
        {
            // Arrange
            var vehicle            = Substitute.For <IStandardCar>();
            var feefactory         = Substitute.For <IFeesForVehicleFactory>();
            var vehicleFeesfactory = Substitute.For <IVehicleFeesFactory>();

            IFeeManager sut = CreateSut(feefactory,
                                        vehicleFeesfactory);

            // Act
            sut.DeleteFees(vehicle);

            // Assert
            vehicleFeesfactory.DidNotReceive().Release(Arg.Any <IVehicleFees>());
        }
        public void DeleteFees_RemovesFees_ForVehicle()
        {
            // Arrange
            var vehicle = Substitute.For <IStandardCar>();
            var factory = Substitute.For <IFeesForVehicleFactory>();

            IFeeManager sut = CreateSut(factory);

            sut.CreateFees(vehicle);

            // Act
            sut.DeleteFees(vehicle);

            // Assert
            factory.Received().Release(Arg.Any <IEnumerable <IFee> >());
        }