def METHOD_NAME(self):
    key = "example"
    doctype = "doctype definition goes here"
    fragment_map = {}
    template = ET.Element("template")
    p = ET.SubElement(template, "p")
    p.text = "Hello World"
    fill_html_fragments_map(fragment_map, TEST_PATH, template, doctype)
    self.assertEqual(
        fragment_map[key], "doctype definition goes here\n<p>Hello World</p>"
    )