Guest User

Untitled

a guest
Mar 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. [TestClass]
  2. public class QueueTriggerTest : FunctionTestHelper.FunctionTest
  3. {
  4. [TestMethod]
  5. public async Task Recieve_Queue_And_Emit_To_Table()
  6. {
  7. var col = new AsyncCollector<Message>();
  8. var json = “{\”name\”: \”ushio\”}”;
  9. await DotNet.QueueTrigger.RunAsync(json, col, log);
  10. Assert.AreEqual(json, col.Items[0].Text);
  11. }
  12. }
Add Comment
Please, Sign In to add comment