
USE CASE        Inspect Received Cargo [subfunction]
===========================================================================
A Delivery Inspector inspects and updates the delivery status of a cargo that has
been received from the cargo owner in the origin location.


Primary actor.. Delivery Inspector
Scope.......... Handling Monitoring System in shipping application
Preconditions.. Cargo hasn't been received but not transported yet.
Trigger........ Delivery Inspector receives request to inspect the delivery status of received cargo.


Main Success Scenario
---------------------------------------------------------------------------
1. Delivery Inspector collects known delivery data.
2. Delivery Inspector verifies that cargo is routed.
3. Delivery Inspector verifies that cargo is received in cargo origin location.
4. Delivery Inspector determines next expected load onto carrier.
5. Delivery Inspector saves cargo delivery snapshot.


Deviations
---------------------------------------------------------------------------
3a. Cargo has no itinerary:
    1. Delivery Inspector marks cargo as non-routed and updates delivery status.
    2. Delivery Inspector sends notification of non-routed cargo and exits.

3b. RouteSpecification is not satisfied by Itinerary:
    1. Delivery Inspector marks cargo as misrouted and updates delivery status.
    2. Delivery Inspector sends notification of misrouted cargo and exits.

4a. Cargo wasn't received in origin location:
    1. Delivery Inspector marks cargo as misdirected and updates delivery status.
    2. Delivery Inspector sends notification of misdirected cargo and exits.