I want to fake my complex object (object with 5 objects properties) to test the post method in the controller.
post
When I use FakeItEasy, I get object with nulls, and I can't insert the object to the DbContext.
null
So how can I fake this? Manualy?
Aucun commentaire:
Enregistrer un commentaire