public void CsvFileCopyTo() { var test = new StructuredFile(); m_StructuredFile.CopyTo(test); m_StructuredFile.AllPropertiesEqual(test); // Test Properties that are not tested Assert.AreEqual(m_StructuredFile.Mapping.Count, test.Mapping.Count, "FieldMapping"); Assert.AreEqual(TrimmingOption.Unquoted, test.TrimmingOption, "TrimmingOption"); Assert.IsTrue(m_StructuredFile.Mapping.CollectionEqualWithOrder(test.Mapping), "Mapping"); Assert.IsTrue(m_StructuredFile.Column.CollectionEqualWithOrder(test.Column), "Column"); Assert.IsTrue(m_StructuredFile.FileFormat.Equals(test.FileFormat), "FileFormat"); Assert.IsTrue(test.Equals(m_StructuredFile), "Equals"); }