         tableView.delegate = self
     }
 
-    private func didSetViewModel() {
-        tableView.reloadData()
-        setEditing(false, animated: true)
-        editButtonItem.isEnabled = viewModel.isEditButtonEnabled
-    }
-
     @objc private func didTap(addBarButtonItem: UIBarButtonItem) {
         self.didTap?(addBarButtonItem)
     }
+    
+    #if DEBUG
+    private var debugDidTap: (() -> Void)?
+    
+    public func onDebugDidTap(perform action: @escaping (() -> Void)) {
+        debugDidTap = action
+    }
+    
+    @objc
+    private func didTap(debugBarButtonItem: UIBarButtonItem) {
+        debugDidTap?()
+    }
+    #endif
 }
 
 // MARK: - UITableViewDataSource


    private func configureNavigationItems() {
        navigationItem.title = "All Items"
        navigationItem.rightBarButtonItem = editButtonItem

        var items: [UIBarButtonItem] = []
        let addAction = #selector(didTap(addBarButtonItem:))

        if navigationItem.searchController == nil {
            navigationItem.searchController = searchController
        }
    }

    public func onDidTapAddBarButtonItem(perform action: @escaping ((UIBarButtonItem) -> Void)) {
