def METHOD_NAME(self):
    root = self.root
    for _ in range(10):
        root.add_widget(self.cls())
    self.assertEqual(len(root.children), 10)
    root.clear_widgets(root.children)
    self.assertEqual(root.children, [])