Allow chaining of Setup().Returns() #103

Open
jkodroff opened this Issue Mar 26, 2014 · 0 comments

Projects

None yet

1 participant

@jkodroff

I'd love to be able to do this:

mock
  .Setup(x => x.Method1())
  .Returns(value1)
  .Setup(x => x.Method2())
  .Returns(value2);

Any reason we wouldn't want to add this feature? If it's cool, I'll create the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment