code: def _test_recommend(self, m):
      new_data = self.new_data
      new_user_data = self.new_user_data
      new_item_data = self.new_item_data
      users_all = self.users_all
      items_all = self.items_all
      exclude = self.exclude
  
      top_k = 5
  
      # Test recommend returns something
      recs = m.recommend(
          users_all,
          top_k,
          exclude,
          items_all,
          new_data,
          new_user_data,
          new_item_data,
          exclude_known=True,
      )
      assert recs is not None
  
      # Test recommend when no new data is provided
      recs = m.recommend(
          users_all, top_k, exclude, items_all, exclude_known=True
      )
      assert recs is not None
  
      recs2 = m.recommend()
      for c in recs.column_names():
          assert all(recs[c] == recs2[c])
  
file_path: turicreate/src/python/turicreate/test/test_recsys_api.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import sys
  import turicreate
label_desc: Use image node_id 5 for calling the AdditionalDataTest obj's underlying member method code with example usage: obj._test_recommend(m) without return types