_If_ adding it to a window doesn't work, creating a `UIButton` subclass for tests and then overriding `-sendAction:to:forEvent:` (to send the selector directly to the target argument) would be my next choice.