Delivery delivery = new BuildDeliverySnapshot( cargo, handlingEvent ).get();
assertThat( delivery.isMisdirected().get(), is( equalTo( false ) ) );
assertThat( delivery.routingStatus().get(), is( equalTo( RoutingStatus.ROUTED ) ) );
assertThat( delivery.transportStatus().get(), is( equalTo( TransportStatus.IN_PORT ) ) );
assertThat( delivery.lastHandlingEvent().get(), is( equalTo( handlingEvent ) ) );
assertThat( delivery.lastKnownLocation().get(), is( equalTo( STOCKHOLM ) ) );
assertThat( delivery.currentVoyage().get(), is( equalTo( null ) ) );
// Cargo might be at destination, but the last handling event wasn't unloading
assertThat( delivery.isUnloadedAtDestination().get(), is( equalTo( true ) ) );