Esempio n. 1
0
        public async Task End()
        {
            // Arrange
            await _target.Begin(A.Fake <IDialog>());

            await _target.ReplyActivity(A.Fake <IActivity>());

            // Act
            await _target.End();

            // Assert
            Check.That(_target.CurrentDialog).IsNull();
            Check.That(_target.Replied).IsFalse();
        }