Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Hi Jerzy, did you try some other library? As far as I remember we use something like FakeMaker for episerver page types.
Yes, I have incorporated FakeMaker, but also using plain mocks from Moq solves a lot of simple cases.
I'm running into a problem with Autofixture not able to create instances of PageData (or derived types) due to an error:
I have created custom specimen builder and hooked it up together with AutoMoqData customization:
And the attribute:
And for the sake of completeness, test method:
Any ideas what the heck? Or how to guide Autofixture to omit certain props?