model.pickup(truck, pack2, TimeLapseFactory.create(0, 40));
assertFalse(rm.containsObject(pack2));
final PickupAction action = (PickupAction) model
.getVehicleActionInfo(truck);
assertFalse(action.isDone());
assertEquals(60, action.timeNeeded());
assertEquals(ParcelState.PICKING_UP, model.getParcelState(pack2));
assertEquals(VehicleState.PICKING_UP, model.getVehicleState(truck));
model.continuePreviousActions(truck, TimeLapseFactory.create(0, 40));
assertFalse(action.isDone());