示例#1
0
        public void CreateNewEmployeeTest_InvalidTest(EmployeeData testData)
        {
            Employee newEmployee = emp.CreateEmployee(testData.Id, testData.fistName, testData.lastName, testData.baseRate, testData.address);

            Assert.IsNull(newEmployee);
        }
示例#2
0
        public void CreateNewEmployeeTest_ValidTest(EmployeeData testData)
        {
            Employee newEmployee = emp.CreateEmployee(testData.Id, testData.fistName, testData.lastName, testData.baseRate, testData.address);

            Assert.IsInstanceOf <Employee>(newEmployee);
        }