Beispiel #1
0
        public void DatesValuesCanBeSetAndRetrieved()
        {
            var expected = DateTime.UtcNow;

            MessageHeaders.SetDateTime("TestDate", expected);
            var actual = MessageHeaders.GetDateTime("TestDate");

            Assert.Equal(expected, actual);
            AssertSingleHeaderExists("TestDate");
        }