[TASK] Use objectStorage mock in generated Domain Model Tests

Change-Id: I634339546cf073f5a9a83a6ded5dd79ce3c6c9a9
Resolves: #54441
Reviewed-on: https://review.typo3.org/26443
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller