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.
Bruce Ng's software development blog
An archive of solutions of programming problems I have faced in my career
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.