public void AddEmployee_ReturnsOkResult() { // Arrange var employee = new EmployeesTableDetails() { FirstName = "", LastName = "", Gender = "", Email = "", Address = "", Designation = "", Salary = 0, MobileNumber = "", Password = "" }; // Act var OkResponse = controller.AddEmployeesRecords(employee); // Assert Assert.IsType <OkObjectResult>(OkResponse); }