public void DictionaryCompareFalseComparisonDifferentElement2()
 {
     AnEntityWithDictionary e1 = new AnEntityWithDictionary() { Id = 1, Dictionary = { { "a", 1 } } };
     AnEntityWithDictionary e2 = new AnEntityWithDictionary() { Id = 1, Dictionary = { { "a", 1 }, { "b", 2 } } };
     Assert.That(ObjectComparer.AreEqual(e1, e2), Is.False);
 }
 public void DictionaryCompare()
 {
     AnEntityWithDictionary e1 = new AnEntityWithDictionary() { Id = 1, Dictionary = { {"a", 1}, {"b", 2} }};
     AnEntityWithDictionary e2 = new AnEntityWithDictionary() { Id = 1, Dictionary = { { "a", 1 }, { "b", 2 } } };
     Assert.That(ObjectComparer.AreEqual(e1, e2));
 }