public void FinishTheRaceWhenDistanceIsEqualToTotalRallyDistance(int checkVehicleStatusTimeInSeconds, int raceTotalDistance, double vehicleDistance) { var vehicle = VehicleBuilder.BuildWithDistance(vehicleDistance); var actual = vehicle.UpdateStatus(checkVehicleStatusTimeInSeconds, raceTotalDistance); actual.Status.Should().Be(VehicleStatus.Finished); }