I am attempting to unit test my modules controller.
In the database I have added this part to my user content type. When I create a new user via the controller during this custom part is attached and available for use as expected.
When I build up a unit test registering DefaultContentManager, DefaultContentDefinitionManager and loads of other default managers in my container, my new user does not have my custom part available. What am I missing?