def METHOD_NAME(self):
    """
    L{ResolverBase.exceptionForCode} converts L{ENOTIMP} to
    L{DNSNotImplementedError}.
    """
    self.assertIs(self.exceptionForCode(ENOTIMP), DNSNotImplementedError)