public void GetTest() { MemoryStore store = new MemoryStore(); store.Set(1, "dude"); store.Set(2, "pude"); store.Set(3, "ok"); store.Set(4, "ohai"); var msgs = new List<string>(); store.Get(2, 3, msgs); var expected = new List<string>() { "pude", "ok" }; Assert.That(msgs, Is.EqualTo(expected)); }