I suggest moving the implementation of creating assets from ContentBuilder to a MockAssetManager implementation provided as adapter from ResourceResolver to AssetManager to the consumers as well.
It should then be used by ContentBuilder the same way it is done for PageManager already.
I suggest moving the implementation of creating assets from ContentBuilder to a MockAssetManager implementation provided as adapter from ResourceResolver to AssetManager to the consumers as well.
It should then be used by ContentBuilder the same way it is done for PageManager already.