def METHOD_NAME(self):
    tree = fragments_to_tree('<p>a</p><p>b</p>')
    self.assertIsInstance(tree, html.HtmlElement)
    self.assertEqual(len(tree.getchildren()), 2)
    self.assertIsInstance(tree[0], html.HtmlElement)
    self.assertEqual(tree[0].tag, 'p')
    self.assertEqual(tree[0].text, 'a')
    self.assertIsInstance(tree[1], html.HtmlElement)
    self.assertEqual(tree[1].tag, 'p')
    self.assertEqual(tree[1].text, 'b')
    self.assertHTMLEqual(fragment_tree_to_str(tree), '<p>a</p><p>b</p>')