Exemple #1
0
        public void ReadCustomerListTest01()
        {
            CustomerJSONFileDB target   = new CustomerJSONFileDB();
            string             filename = "..\\data\\customerList - empty.txt";
            List <Customer>    expected = new List <Customer>();
            List <Customer>    actual   = new List <Customer>();

            actual = target.ReadCustomerList(filename);
            //Assert.C(expected, actual);
            CollectionAssert.AreEqual(expected, actual);
        }
 public void ReadCustomerListTest01()
 {
     CustomerJSONFileDB target = new CustomerJSONFileDB();
     string filename = "..\\data\\customerList - empty.txt";
     List<Customer> expected = new List<Customer>();
     List<Customer> actual = new List<Customer>();
     actual = target.ReadCustomerList(filename);
     //Assert.C(expected, actual);
     CollectionAssert.AreEqual(expected,actual);
 }