The only issue with testing if the method exists IMO is if there were some other structural change (doubtful on 2.5) that caused the object being passed here to not work the same if it had a `get` method.  In this method, we expect either an instance of `Exception` or a `JError` object.  So testing that should be all that is necessary.