def testIsNSAppleEventDescriptor(self):

    class NSAppleEventDescriptor(object):
      pass

    x1 = NSAppleEventDescriptor()
    x2 = self

    self.assertTrue(self.asr._IsNSAppleEventDescriptor(x1))
    self.assertFalse(self.asr._IsNSAppleEventDescriptor(x2))
Test _IsNSAppleEventDescriptor().
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/applescript_test.py/AppleScriptRunnerTest.testIsNSAppleEventDescriptor