def METHOD_NAME(self):
    import OFS.metaconfigure
    from zope.component.testing import METHOD_NAME
    # restore registrations
    OFS.metaconfigure._meta_type_regs[:] = self._old_mt_regs
    OFS.metaconfigure._register_monkies[:] = self._old_monkies
    if self._old_metatypes is not _marker:
        import Products
        Products.meta_types = self._old_metatypes
    else:
        try:
            del Products.meta_types
        except AttributeError:
            pass
    METHOD_NAME()