public void TestGetAllPersons() { List <Person> personList = new List <Person>(_repo.GetAllPersons()); Assert.IsNotNull(personList); Assert.AreEqual(0, personList.Count); AddTestPerson("TestName", 7); personList = new List <Person>(_repo.GetAllPersons()); Assert.IsNotNull(personList); Assert.AreEqual(1, personList.Count); }