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>()) == ???);
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
Post a Comment