示例#1
0
        public void TestGetBatchId_BatchIdIsNull()
        {
            var instance = new BatchHeaderType();

            instance.BatchID = null;
            Assert.IsNull(instance.GetBatchId());
        }
示例#2
0
        public void TestGetBatchId_HasBatchId()
        {
            var expectedBatchId = BatchId.NewBatchId();
            var instance        = new BatchHeaderType();

            instance.BatchID = expectedBatchId.ToString();
            Assert.AreEqual(expectedBatchId, instance.GetBatchId());
        }