def METHOD_NAME(self):
    map = geemap.Map(ee_initialize=False)
    toolbar = Toolbar(map, [self.item, self.item], [self.item, self.item])
    self.assertEqual(toolbar.num_rows_collapsed, 1)
    self.assertEqual(toolbar.num_rows_expanded, 2)