Пример #1
0
        public void コンストラクタで正しく初期化される事3()
        {
            string name = "queue_name3";

            var q3 = new MQ.SingleTypeQueue(name, false, false, true);

            Assert.Equal(name, q3.QueueName);
            Assert.False(q3.DeleteExistingQueueWithSending);
            Assert.False(q3.DeleteExistingQueueWithReceiving);
            Assert.True(q3.Transactional);
        }
Пример #2
0
        public void デフォルトコンストラクタで正しく初期化される事()
        {
            string name = "queue_name";

            var q = new MQ.SingleTypeQueue(name);

            Assert.Equal(name, q.QueueName);
            Assert.False(q.DeleteExistingQueueWithSending);
            Assert.False(q.DeleteExistingQueueWithReceiving);
            Assert.False(q.Transactional);
        }