Moq Returns method missing

If the return type is of a class that is not referenced by the test project, Returns() won’t show up, adding a reference to the assembly/project containing the return type will fix this.

Leave a Reply

Your email address will not be published. Required fields are marked *