def METHOD_NAME(self):
    self.xmltree = etree.fromstring(
        """
        <article>
            <article-meta>
                <p><xref ref-type="aff" rid="aff1">1</xref></p>     
                <aff id="aff1">
                    <p>affiliation</p>
                </aff>
                <p><xref ref-type="fig" rid="fig1">1</xref></p>     
                <fig id="fig1">
                    <p>figure</p>
                </fig>
                <p><xref ref-type="table" rid="table1">1</xref></p>     
                <table id="table1">
                    <p>table</p>
                </table>
            </article-meta>
        </article>
        """
    )
    self.article_xref = ArticleXrefValidation(self.xmltree)
    expected = dict(
        expected_value=['aff1', 'fig1', 'table1'],
        obtained_value=['aff1', 'fig1', 'table1'],
        result=[],
        message="OK: all rids have the respective ids"
    )
    obtained = self.article_xref.validate_rid()
    self.assertDictEqual(expected, obtained)