class_docstr: Unit test Smart State Class
  TODO: Docstring
class_docstr_tok: ["Unit","test","Smart","State","Class","TODO",":","Docstring"]
docstr: Unit test compute features groups contributions
docstr_tok: ["Unit","test","compute","features","groups","contributions"]
code: def test_compute_grouped_contributions(
      self, mock_group_contributions
  ):
      """
      Unit test compute features groups contributions
      """
      state = SmartState()
      state.compute_grouped_contributions(Mock(), {})
      mock_group_contributions.assert_called()
  
imports: import unittest
  from unittest.mock import patch, Mock
  import pandas
  import numpy
  from shapash.explainer.smart_state import SmartState
label_desc: Use image node_id 20 for calling the TestSmartState obj's underlying member method code with example usage: obj.test_compute_grouped_contributions(mock_group_contributions) without return types