303132333435363738
private ShipmentRepository repository; @Override public Void handle(SendShipmentCommand command) { Shipment shipment = repository.load(command.getShipmentId()); shipment.ship(); return null; } }