Пример #1
0
        public void ActivateToWorks()
        {
            Dictionary <string, string> headers = new Dictionary <string, string>()
            {
                { "Target", "test" },
                { "MessageSource", "Body" }
            };

            Slack.Inflator inflator = new Inflator();
            Assert.NotNull(inflator.CreateToComponent(headers));
        }
Пример #2
0
        public void CanGetTo()
        {
            Dictionary <string, string> headers = new Dictionary <string, string>()
            {
                { "Target", "test/target" },
                { "Action", "Move" },
                { "Overwrite", "true" }
            };

            Inflator inflator = new Inflator();

            Assert.NotNull(inflator.CreateToComponent(headers, this.serviceProvider));
        }