code: def test_build(self):
      ReviewModality(data=[]).build(
          uid_map=self.uid_map,
          iid_map=self.iid_map,
          dok_matrix=self.dok_matrix,
      )
      ReviewModality(data=self.review_data).build(
          uid_map=self.uid_map,
          iid_map=self.iid_map,
          dok_matrix=self.dok_matrix,
      )
      ReviewModality(data=self.review_data, group_by="user").build(
          uid_map=self.uid_map,
          iid_map=self.iid_map,
          dok_matrix=self.dok_matrix,
      )
      ReviewModality(data=self.review_data, group_by="item").build(
          uid_map=self.uid_map,
          iid_map=self.iid_map,
          dok_matrix=self.dok_matrix,
      )
      try:
          ReviewModality().build()
      except ValueError:
          assert True
  
imports: import unittest
  from collections import defaultdict
  import numpy
  import numpy.testing
  from cornac.data import TextModality, ReviewModality
  from cornac.data.text import SPECIAL_TOKENS, DEFAULT_PRE_RULES, BaseTokenizer, Vocabulary, CountVectorizer, TfidfVectorizer
label_desc: Use image node_id 3 for calling the TestReviewModality obj's underlying member method code with example usage: obj.test_build() without return types