public void Write_WhenWrite_ThenNotThrowException() { // Arrange var serializer = new XmlFileSerializer(); var collection = new List <int>(); // Act - Assert Assert.DoesNotThrow(() => serializer.Write(collection, "file4")); }