예제 #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);
        }