コード例 #1
0
        public void IsReconciliation()
        {
            Iso8583Message message = new Iso8583Message();

            message.MessageTypeIdentifier = 1110;
            Assert.IsFalse(message.IsReconciliation());

            message.MessageTypeIdentifier = 1210;
            Assert.IsFalse(message.IsReconciliation());

            message.MessageTypeIdentifier = 1310;
            Assert.IsFalse(message.IsReconciliation());

            message.MessageTypeIdentifier = 1410;
            Assert.IsFalse(message.IsReconciliation());

            message.MessageTypeIdentifier = 1510;
            Assert.IsTrue(message.IsReconciliation());

            message.MessageTypeIdentifier = 1610;
            Assert.IsFalse(message.IsReconciliation());

            message.MessageTypeIdentifier = 1710;
            Assert.IsFalse(message.IsReconciliation());

            message.MessageTypeIdentifier = 1810;
            Assert.IsFalse(message.IsReconciliation());
        }