public void CheckRequestsNotNullTest() { Repeater repeater = new Repeater() { CachedResponse = new CachedResponse <string, string>(), }; repeater.Add(5, "Test", () => ""); }
public void AddRequestTest() { var cachedResponse = new CachedResponse <string, string>(); Repeater repeater = new Repeater() { CachedResponse = cachedResponse, }; repeater.Add(5, "Test", () => ""); Assert.IsTrue(cachedResponse.ContainsKey("Test")); }