public void ItCanSetAndGetlongs() { long expected = 123; EventHeader sut = GetSut(); sut.Set("foo", expected); long result = sut.GetLong("foo"); Assert.Equal(expected, result); }
public void TryGettingNonExistingValueThrows() { EventHeader sut = GetSut(); Assert.Throws <KeyNotFoundException>(() => sut.GetLong("foo")); }