public void CreateNewEmployeeTest_InvalidTest(EmployeeData testData) { Employee newEmployee = emp.CreateEmployee(testData.Id, testData.fistName, testData.lastName, testData.baseRate, testData.address); Assert.IsNull(newEmployee); }
public void CreateNewEmployeeTest_ValidTest(EmployeeData testData) { Employee newEmployee = emp.CreateEmployee(testData.Id, testData.fistName, testData.lastName, testData.baseRate, testData.address); Assert.IsInstanceOf <Employee>(newEmployee); }