Given a domain class that has an ID with UUID generation turned on:
When I attempt to mock multiple instances of the domain class:
Then when I attempt see the count of domain objects in test I see:
with result: 1 and failed assertion.
Then I check on each domain object to see what is it's ID and all of them have an ID of 1 after creation. It seems that the domain objects that are created do not have an appropriate generated ID and instead try to update the first domain object created. When I look at the 'desc' attribute after saving all 4 of them:
The result is that the 'desc' attribute actually equals "Four", the last value to be saved.
The expected behavior is that I save 4 instances of MyDomain and that each has its own ID value even when UUID generation is turned on in the MyDomain mapping.