public static void Should_Clone_DictionaryObject() { var original = new DictionaryObject { Collection = { { 1, new BasicObject() { IntValue = 1, LongValue = 10 } }, { 2, new BasicObject() { IntValue = 2, LongValue = 20 } }, { 3, new BasicObject() { IntValue = 3, LongValue = 30 } }, } }; DictionaryObject cloned = original.Clone(); cloned.ShouldBe(original); }