def METHOD_NAME(self):
    recipeTemplate = BeakerRecipe()
    recipeTemplate.addBaseRequires(distro='RHEL-7.1%', family='RedHatEnterpriseLinux7')
    recipe = self.command.processTemplate(recipeTemplate,
                                          requestedTasks=[{'name': '/example', 'arches': []}],
                                          family='RedHatEnterpriseLinux7')
    xml = recipe.toxml(prettyxml=True)
    self.assertIn('<distro_name op="like" value="RHEL-7.1%"/>', xml)