Exemplo n.º 1
0
        public void ItCanSetAndGetDateTimeOffset()
        {
            DateTimeOffset expected = DateTimeOffset.Now;

            EventHeader sut = GetSut();

            sut.Set("foo", expected);

            DateTimeOffset result = sut.GetDateTimeOffset("foo");

            Assert.Equal(expected, result);
        }