Sure you wouldn't test salesOrder.user is not null?