public void ContactsDbShouldHaveContacts() { var db = new ContactsDb(); Assert.IsNotNull(db); Assert.IsNotNull(db.Contacts); Assert.AreEqual(8, db.Contacts.Count); }
public ContactsController() { _context = new ContactsDb(); }