How to use AutoBogus to create fake object of class with constructor parameter?
I have a class, for example User, with a dependency of type IValidate in the constructor paramaters. Could someone please help me create fake object with a mocked instance for this parameter? Right now it is throwing an exception. Is there any way to configure the parameter?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.