public void CanLoadContacts()
        {
            var repo = new AccountRepositoryADO();

            var Type = repo.GetContact(1);

            Assert.AreEqual("Bill", Type.Name);
        }
        public void CanDeleteContact()
        {
            var repo    = new AccountRepositoryADO();
            var contact = new Contact();

            contact.Name    = "Test";
            contact.Phone   = "1234567890";
            contact.Message = "Testing";
            contact.Email   = "Test";
            repo.InsertContact(contact);



            var load = repo.GetContact(3);

            Assert.IsNotNull(load.Name);

            repo.DeleteContact(3);
            load = repo.GetContact(3);
            Assert.IsNull(load.Name);
        }
        public void CanInsertContacts()
        {
            var repo    = new AccountRepositoryADO();
            var contact = new Contact();

            contact.Name    = "Test";
            contact.Phone   = "1234567890";
            contact.Message = "Testing";
            contact.Email   = "Test";
            repo.InsertContact(contact);

            var Type = repo.GetContact(3);

            Assert.AreEqual("Test", Type.Name);
            Assert.AreEqual("Test", Type.Email);
            Assert.AreEqual("Testing", Type.Message);
            Assert.AreEqual("1234567890", Type.Phone);
        }