def METHOD_NAME(self):
    structure, list_sentences = DocumentParser.parse(docx_file)
    assert structure[23] == [24, 25]
    assert list_sentences[0] == '<h0> Demonstration of DOCX support in calibre'
    final_list = training_data_generator.TrainingDataGenerator.generate_intent(structure, list_sentences)
    expected = 'root_Demonstration-of-DOCX-support-in-calibre'
    assert any(item['intent'] == expected for item in final_list)