For instance, say I have the following:
A has many B has many C has many D. AND
B has many E has many F
In this circumstance, were I to try to create an object F (using SubFactories for all parent objects) I'll get an error saying that A already exists (due to unique constraints; i want one true parents).
Now I can run a setUp such that I simply pass down the parents all the way through the tree, but that seems like a lot of non-DRY work for each test case. Is there a best practice here?
Thanks