private static Vehicle CreateAndSaveVehicle(VehicleDao vehicleDao, int i) { var vehicle = new Vehicle(); vehicle.Name = "Vehicle-" + i; vehicle.License = "VEH-000" + i; vehicleDao.Save(vehicle); return vehicle; }