code: def test_to_dictionary(self):
      file_collection_entity = FileCollection(self.input_dict)
      output_dict = file_collection_entity.to_dictionary()
  
      for k, v in output_dict.items():
          assert v == getattr(file_collection_entity, k)
  
imports: from datmo.core.entity.file_collection import FileCollection
label_desc: Use image node_id 5 for calling the TestFileCollection obj's underlying member method code with example usage: obj.test_to_dictionary() without return types