public void B_Read_3() { a = new Project.Data.Repository(db); int id = 0; foreach (var i in a.GetPersons()) { id = i.Id; } unitTest = a.GetPersonByUsername("unittest"); Assert.AreEqual(id, unitTest.Id); }
public void B_Read_3() { a = new Project.Data.Repository(db); int id = 0; foreach (var i in a.GetPersons()) { id = i.Id; } unitTest = a.GetPersonByUsername("unittest"); Assert.AreEqual(id, unitTest.Id); }