Example #1
0
        public void ItCanSetAndGetTimespan()
        {
            TimeSpan expected = TimeSpan.FromHours(2);

            EventHeader sut = GetSut();

            sut.Set("foo", expected);

            TimeSpan result = sut.GetTimeSpan("foo");

            Assert.Equal(expected, result);
        }