public void TestGetBatchId_BatchIdIsNull() { var instance = new BatchHeaderType(); instance.BatchID = null; Assert.IsNull(instance.GetBatchId()); }
public void TestGetBatchId_HasBatchId() { var expectedBatchId = BatchId.NewBatchId(); var instance = new BatchHeaderType(); instance.BatchID = expectedBatchId.ToString(); Assert.AreEqual(expectedBatchId, instance.GetBatchId()); }