Blowing the whistle, and testifying in connection with an investigation, are both protected activities. They did both.
That, plus the motive, timeline, and actual public statements by Trump on this subject is what would make this an open-and-shut case of retaliation in the real world.
But in the bizarro world Trump has created for himself in the White House, facilitated by the GOP Senate? Unclear.