public void CSVExporterExportsSingleObject() { TestType myObj = new TestType { Name = "Billy Jean", Age = 22 }; const string expectedCsv = @"""Billy Jean"",""22"""; string csv = _csvExporter.ExportObject(myObj); Assert.AreEqual(expectedCsv, csv); }
public void CSVExporterExportsSingleObject() { TestType myObj = new TestType { Name = "Billy Jean", Age = 22 }; const string expectedCsv = @"""Billy Jean"",""22"""; string csv = _csvExporter.ExportObject(myObj); Assert.AreEqual(expectedCsv, csv); }