public void PropertyInterfaceOfListReferencesCleared() { var expected = new ClassWithPropertyInterfaceOfList { List = new List <string> { "Item1" }, Set = new List <string> { "Item1" } }; var container = new ConfigurationContainer(); container.EnableReferences(); container.IgnoredReferenceTypes().Clear(); var actual = new SerializationSupport(container).Cycle(expected); actual.List.Only() .Should() .NotBeNull() .And.BeSameAs(actual.Set.Only()); }