c# - Return passed parameter with fluent moq -


is possible return passed parameter mocked method fluent moq? from:

mock.setup(m => m.foo( it.isany<string>())).returns<string>(s => s); 

to:

mock.of<bar>(m => m.foo(it.isany<string>()) == ???); 


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -