public void ItCanSetAndGetTimespan() { TimeSpan expected = TimeSpan.FromHours(2); EventHeader sut = GetSut(); sut.Set("foo", expected); TimeSpan result = sut.GetTimeSpan("foo"); Assert.Equal(expected, result); }
public void ItCanSetAndGetTimespan() { TimeSpan expected = TimeSpan.FromHours(2); EventHeader sut = GetSut(); sut.Set("foo", expected); TimeSpan result = sut.GetTimeSpan("foo"); Assert.Equal(expected, result); }