Exemple #1
0
        public async Task MessageReceivedAsync_ReceivesMessage_DisplaysTextAndLength()
        {
            var message = Activity.CreateMessageActivity();

            message.Text = "abc";

            await _dialog.MessageReceivedAsync(_context.Object, Awaitable.FromItem(message));

            _chat.Verify(c => c.PostAsync(_context.Object, "You sent abc which was 3 characters"));
        }