public void DetectChangeInDictionary() { var sc = new SomeClass(); var sc2 = new SomeClass(); sc.StringDictionary.Add("1", "1"); var result = Reflector.PropertyDiffer(sc, sc2, "StringDictionary"); Assert.True(result); }
public void DeepItemShouldBeDetected() { var sc = new SomeClass(); var sc2 = new SomeClass(); sc.DeepList.Add(new List<List<int>> { new List<int> {1} }); var result = Reflector.PropertyDiffer(sc, sc2, "DeepList"); Assert.True(result); }