Example #1
0
        public void LoadEmployeeData()
        {
            DataRow row = ShuntRow("Name,Address", "Jean", "10 Rue de Roi");

            operation.CreateEmployee(row);

            Assert.IsNotNull(operation.Employee);
            Assert.AreEqual("Jean", operation.Employee.Name);
            Assert.AreEqual("10 Rue de Roi", operation.Employee.Address);
        }
Example #2
0
        public void LoadEmployeeData()
        {
            var row = DataRowUtil.ShuntRow("Name,Address", "Kubing", "10 Rue de Roi");

            operation.CreateEmployee(row);

            Assert.IsNotNull(operation.Employee);
            Assert.AreEqual("Kubing", operation.Employee.Name);
            Assert.AreEqual("10 Rue de Roi", operation.Employee.Address);
        }