Scathing testimony by Michael Cohen that Donald Trump was tipped off in the summer of 2016 to a “massive” WikiLeaks dump of emails that would embarrass Hillary Clinton is being called a lie.

Roger Stone, one of President Trump’s earliest backers, told the Herald in a text: “Mr. Cohen’s statement is not true.”

Cohen told the House Oversight and Reform Committee on Wednesday that he was in the room with Trump that summer when Stone called to say the Clinton email hack was about to drop. He said Stone was on speakerphone.

“Mr. Stone told Mr. Trump that he had just gotten off the phone with Julian Assange and that Mr. Assange told Mr. Stone that, within a couple of days, there would be a massive dump of emails that would damage Hillary Clinton’s campaign,” Cohen testified.

“Mr. Trump responded by stating to the effect of ‘wouldn’t that be great,’ ” Cohen added.

WikiLeaks tweeted almost immediately after that exchange Wednesday that “WikiLeaks publisher Julian Assange has never had a telephone call with Roger Stone.” The hacker site added it even “teased its pending publications” of Clinton emails three months before. Starting on July 22, 2016, WikiLeaks began the release of 44,000-plus emails from Clinton and the Democratic National Committee.

Cohen, Trump’s longtime lawyer and fixer who has pleaded guilty to lying to Congress, spent a good part of the day calling his former boss a liar and a racist with an oversized ego who paid off porn stars and former Playboy playmates.

“He is a racist. He is a con man. And he is a cheat,” Cohen told the committee.

“I am not protecting Mr. Trump anymore,” he added to the panel that included Massachusetts U.S. Reps Stephen Lynch and Ayanna Pressley.

The hours-long hearing was often contentious, with Democrats grilling Cohen as Republicans focused on his history of lying and committing crimes.

Lynch shouted at the GOP members, saying, “Your side ran away from the truth — and we’re trying to bring it to the American people.”

Pressley questioned Cohen about the Trump Organization’s finances, accusing the now-dissolved charitable group of acting improperly.

“It is against the law and extremely unfair to charities that are playing by the rules,” Pressley said.

Cohen, 52, faces a three-year prison term that begins this spring.

Stone, 66, is charged with witness tampering, obstruction and lying to Congress in special counsel Robert Mueller’s investigation into Russian meddling in the 2016 presidential election. He’s been put on a partial gag order while awaiting trial.

Cohen is set to meet in a closed session with the House Intelligence Committee on Thursday.

WikiLeaks' DNC publication (July 22, 2016) was also publicly promoted for over a month before hand, from June 12 onwards. pic.twitter.com/4vpQ67GB29 — WikiLeaks (@wikileaks) February 28, 2019

STATEMENT on Michael Cohen testimony to Congress: WikiLeaks publisher Julian Assange has never had a telephone call with Roger Stone. WikiLeaks publicly teased its pending publications on Hillary Clinton and published > 30k of her emails on 16 March 2016. https://t.co/XcH75u3kbu — WikiLeaks (@wikileaks) February 27, 2019