Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [TestClass]
- public class QueueTriggerTest : FunctionTestHelper.FunctionTest
- {
- [TestMethod]
- public async Task Recieve_Queue_And_Emit_To_Table()
- {
- var col = new AsyncCollector<Message>();
- var json = “{\”name\”: \”ushio\”}”;
- await DotNet.QueueTrigger.RunAsync(json, col, log);
- Assert.AreEqual(json, col.Items[0].Text);
- }
- }
Add Comment
Please, Sign In to add comment