Esempio n. 1
0
        public void TestSetBatchId_NullValue()
        {
            var instance = new BatchHeaderType();

            instance.BatchID = "batch id";
            instance.SetBatchId(null);
            Assert.IsNull(instance.BatchID);
        }
Esempio n. 2
0
        public void TestSetBatchId()
        {
            var expectedBatchId = BatchId.NewBatchId();
            var instance        = new BatchHeaderType();

            instance.BatchID = "batch id";
            instance.SetBatchId(expectedBatchId);
            Assert.AreEqual(expectedBatchId.ToString(), instance.BatchID);
        }