Ejemplo n.º 1
0
        public void CompanyCreateDBTest()
        {
            //Arrange
            DbCompany dbCompany = new DbCompany();
            Company   company   = new Company("*****@*****.**", "hellopassword");

            //Act
            bool inserted = dbCompany.Create(company);

            //Assert
            Assert.IsTrue(inserted);
        }
 /// <summary>
 /// Sends an object through the DataAccessLayer, and executes Create Method
 /// </summary>
 /// <param name="obj"></param>
 public void Create(Company obj)
 {
     dbCompany.Create(obj);
 }