Beispiel #1
0
        public void Getters_QueueTime()
        {
            var metadata = new TransactionMetadata();

            Assert.IsNull(metadata.QueueTime);

            metadata.SetQueueTime(TimeSpan.FromSeconds(20));
            Assert.AreEqual(20, metadata.QueueTime?.Seconds);

            metadata.SetQueueTime(TimeSpan.FromSeconds(55));
            Assert.AreEqual(55, metadata.QueueTime?.Seconds);
        }