Ejemplo n.º 1
0
        public void DebuggingBotAdapterExtensions_UseDebugger()
        {
            var        codeModel = new CodeModel();
            ISourceMap sourceMap = new DebuggerSourceMap(codeModel);

            var adapter = new BotFrameworkAdapter(new SimpleCredentialProvider());

            Assert.Single(adapter.MiddlewareSet);

            adapter.UseDebugger(3982, sourceMap);

            Assert.Equal(2, adapter.MiddlewareSet.Count());
        }