public void TrackerBase_Track() { TestTracker tracker = new TestTracker(new CacheConfiguration() { Builder = new LruPutCacheBuilder(), Size = 100 }, 1); Dictionary <string, object> keyDictionary = new Dictionary <string, object>() { { "test.field1", "1.2.3.4" }, { "test.field2", "abcd" }, }; var data1 = MockFlowData.CreateFromEvidence(keyDictionary, true); var data2 = MockFlowData.CreateFromEvidence(keyDictionary, true); Assert.IsTrue(tracker.Track(data1.Object)); Assert.IsFalse(tracker.Track(data2.Object)); }