                     
                     let latestMethods = childDelegates[completeChildDelegateIndex].latestCalledDelegateMethod
                     
-                    guard let calledParameters = latestMethods[expectedMethod] as? (tableView: UITableView, action: Selector, indexPath: IndexPath, sender: AnyObject?) else {
+                    guard let calledParameters = latestMethods[expectedMethod] as? (tableView: UITableView, action: Selector, indexPath: IndexPath, sender: Any?) else {
                         
                         fail("tableView(_:performAction:forRowAt:withSender:) not called correctly")
                         return

                        
                        let latestMethods = childDelegates[completeChildDelegateIndex].latestCalledDelegateMethod
                        
                        guard let calledParameters = latestMethods[expectedMethod] as? (tableView: UITableView, action: Selector, indexPath: IndexPath, sender: AnyObject?) else {
                            fail("tableView(_:canPerformAction:forRowAt:withSender:) is not called correctly")
                            return
                        }

                        
                        let latestMethods = childDelegates[completeChildDelegateIndex].latestCalledDelegateMethod
                        
                        guard let calledParameters = latestMethods[expectedMethod] as? (tableView: UITableView, action: Selector, indexPath: IndexPath, sender: Any?) else {
                            fail("tableView(_:canPerformAction:forRowAt:withSender:) is not called correctly")
                            return
                        }
