the extension still calls the instance method so i...
# android
j
the extension still calls the instance method so if it was testable before it should remain testable. the problem is that you've gone from testing implementation details of the view to testing implementation of the view and the extension. a more stable version of that test would be one that interacts with the view and observes that the correct result happens (which implies that the listener was set and contained the correct behavior).
👍 5