示例#1
0
 public void GetAllTest()
 {
     _readFile.Read();
     _list = new List <string>();
     _list = _readFile.GetAll();
     Assert.AreEqual(FIRST, _list.ElementAt(0));
     Assert.AreEqual(LAST, _list.Last());
 }
示例#2
0
 public RepositoryBase()
 {
     Data = ReadFile <TEntity> .GetAll();
 }