コード例 #1
0
        public void FromQueue_ParamtersPersist()
        {
            var source = QueueFramework.FromQueue("a", "b");

            Assert.AreEqual("a", source.ConnectionString);
            Assert.AreEqual("b", source.QueueName);
        }
コード例 #2
0
        public void FromTopicSubscription_ParamtersPersist()
        {
            var source = QueueFramework.FromTopicSubscription("a", "b", "c");

            Assert.AreEqual("a", source.ConnectionString);
            Assert.AreEqual("b", source.QueueName);
            Assert.AreEqual("c", source.SubscriptionName);
        }
コード例 #3
0
        public void MaxConcurrency_ShouldNotBeZero()
        {
            var source = QueueFramework.FromQueue("a", "b");

            Assert.AreNotEqual(0, source.MaxConcurrency);
        }