public void Cloning_the_conventions_configuration_clones_the_list_of_conventions_but_not_the_conventions_themselves() { var convention1 = new Mock <IConvention>().Object; var conventions = new ConventionsConfiguration( new List <IConvention> { convention1 }); Assert.Same(conventions.Conventions, conventions.Conventions); var clone = conventions.Clone(); var convention2 = new Mock <IConvention>().Object; conventions.Add(convention2); Assert.NotSame(conventions.Conventions, clone.Conventions); Assert.True(clone.Conventions.Contains(convention1)); Assert.False(clone.Conventions.Contains(convention2)); }