public void CsvStatusEtlConstructorTest()
 {
     CsvStatusEtl target = new CsvStatusEtl();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
 public void ExportStatusTest()
 {
     CsvStatusEtl target = new CsvStatusEtl(); // TODO: Initialize to an appropriate value
     TextWriter file = null; // TODO: Initialize to an appropriate value
     IList<StatusReport> reports = null; // TODO: Initialize to an appropriate value
     target.ExportStatus(file, reports);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
        public void ImportStatusTest()
        {
            var target = new CsvStatusEtl();
            using (TextReader file = new StreamReader(@"..\..\..\..\StatusSample.csv"))
            {
                var actual = target.ImportStatus(file);

                // check values in first item
                Assert.AreEqual(new DateTime(2011, 11, 2), actual[0].MilestoneDate);
                Assert.AreEqual("Software Licensing", actual[0].Project);

                Assert.AreEqual(87, actual[actual.Count - 1].ProjectID);
                Assert.AreEqual(new DateTime(2011, 11, 28), actual[actual.Count - 1].StatusDate);
            }
        }