I am trying to test a method that contains tableView.indexPath(for: cell) but when testing this method the cells are not visible during tests so it returns nil. How
tableView.indexPath(for: cell)