assertFalse( "catalogItems should not be initialized", consumers.wasInitialized() );
updateCatalogsCollection( fullTextSession, catalog );
if ( ( withClassBridgeOnItem || withClassBridgeOnCatalog ) && depth > 1 ) {
assertTrue( "catalogItems should have been initialized", catalogItems.wasInitialized() );
}
else {
assertFalse( "catalogItems should not be initialized", catalogItems.wasInitialized() );
}
}