def METHOD_NAME(self):
    ocrd_page = parse(assets.path_to('kant_aufklaerung_1784/data/OCR-D-GT-PAGE/PAGE_0020_PAGE.xml'), silence=True)
    report = PageValidator.validate(ocrd_page=ocrd_page)
    self.assertEqual(len([e for e in report.errors if isinstance(e, ConsistencyError)]), 25, '25 textequiv consistency errors - strict')
    word = ocrd_page.get_Page().get_TextRegion()[0].get_TextLine()[0].get_Word()[1]
    # delete all textequivs
    word.set_TextEquiv([])
    # Add textequiv
    set_text(word, 'FOO', 'first')
    word.add_TextEquiv(TextEquivType(Unicode='BAR', conf=.7))
    word.add_TextEquiv(TextEquivType(Unicode='BAZ', conf=.5, index=0))
    self.assertEqual(get_text(word, 'first'), 'BAZ')
    set_text(word, 'XYZ', 'first')
    self.assertEqual(get_text(word, 'first'), 'XYZ')