code: def test_also_runs_function(dataframe):
      """Test that `.also()` executes the function."""
      method = Mock(return_value=None)
      df = dataframe.also(method)
      assert id(df) == id(dataframe)
      assert method.call_count == 1
  
file_path: pyjanitor/tests/functions/test_also.py
imports: from unittest.mock import Mock
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_also_runs_function(dataframe) without return types