Guest User

Untitled

a guest
Jan 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. [Fact]
  2. public void using_the_table_property_only()
  3. {
  4. dynamic fakeResult = FakeResult.For.Table
  5. .Returns(new List<User> {Name = "User 1", Name = "User 2", Name= "User 3"});
  6.  
  7. fakeResult.Table
  8. .FindAllByName()
  9. .OrderByName
  10. .JoinOnOrdersById()
  11. .AnotherThing()
  12. .AndYetOneMore();
  13.  
  14. // And have the Table return the result and do all the other operations?
  15.  
  16. }
Add Comment
Please, Sign In to add comment