-
- # invoke again for this same input. this time, the preloaded data will be returned
- collections = ac.send :preload_collections_for_objects, pdhs
- assert collections, 'Expected collections map'
- assert collections.is_a?(Hash), 'Expected a hash'
- assert collections.size == 2, 'Expected two objects in the preloaded collection hash'
- assert collections[pdh1], 'Expected collection for the passed in pdh #{pdh1}'
- assert collections[pdh2], 'Expected collection for the passed in pdh #{pdh2}'