code: def test_category(self):
      from sahi.annotation import Category
  
      category_id = 1
      category_name = "car"
      category = Category(id=category_id, name=category_name)
      self.assertEqual(category.id, category_id)
      self.assertEqual(category.name, category_name)
  
imports: import unittest
label_desc: Use image node_id 2 for calling the TestAnnotation obj's underlying member method code with example usage: obj.test_category() without return types