Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Fact]
- public void using_the_table_property_only()
- {
- dynamic fakeResult = FakeResult.For.Table
- .Returns(new List<User> {Name = "User 1", Name = "User 2", Name= "User 3"});
- fakeResult.Table
- .FindAllByName()
- .OrderByName
- .JoinOnOrdersById()
- .AnotherThing()
- .AndYetOneMore();
- // And have the Table return the result and do all the other operations?
- }
Add Comment
Please, Sign In to add comment