예제 #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);
        }