void Awake()
 {
     if (instance == null)
     {
         instance = this;
         DontDestroyOnLoad(this.gameObject);
     }
     else
     {
         Destroy(this);
     }
 }
        public async Task SendActivity(IMessageActivity messageActivity)
        {
            try
            {
                await TestConversation.SendAsync(this.scopeContext.Scope, messageActivity);
            }
            catch (MockException mockException)
            {
                var message = messageActivity?.Text;

                throw new UnmatchedUtteranceException(
                          $"Error while sending user message - matching intent couldn't be found. Check if unit test registers intent for the following utterance: {message}.",
                          mockException);
            }
        }