Boxer criticized Sen. Ted CruzTed CruzOvernight Defense: Senators go to White House for North Korea briefing | Admiral takes 'hit' for aircraft carrier mixup | Lawmakers urged to beef up US missile defense Senators get North Korea briefing in unusual WH visit Overnight Tech: FCC chief unveils plan for net neutrality rollback | Tech on Trump's sweeping tax plan | Cruz looks to boost space industry MORE (R-Texas) for suggesting that Republicans threaten a government shutdown to ensure ObamaCare is defunded.

“It’s my way or the highway,” Boxer said. “I’m taking my Teddy bear and blanky home because I don’t like ObamaCare and am upset about it.”

Cruz spent Tuesday evening and early Wednesday morning on the Senate floor giving a 21-hour speech in opposition to funding ObamaCare.

The government will shut down Oct. 1 if Congress doesn't approve some form of government funding measure.

Cruz took to the floor to try to convince his Republican colleague not to support efforts to advance a House-pass continue spending resolution that defunds ObamaCare because Senate Majority Leader Harry ReidHarry ReidDraft House bill ignites new Yucca Mountain fight Week ahead: House to revive Yucca Mountain fight Warren builds her brand with 2020 down the road MORE (D-Nev.) is expected to strip that language from H.J.Res. 59.

Boxer said that was an easy demand for Cruz because he has “super” health insurance coverage.

“Cruz spoke for a very long time and said he would speak until he ‘dropped’,” Boxer said. “If he were to ‘drop’ and suffered some health episode here on the Senate floor, he would be rushed to a great hospital and he would have been fine because he is insured. … Standing up until we drop to prevent important benefits from going to American families — that is wrong.”

Cruz and other Republicans have argued that ObamaCare is harmful to the economy. Democrats point out that the law is already benefiting those with preexisting conditions who can’t be denied coverage, people younger than 26 who can stay on a parent’s insurance plan and women who now pay less for preventive healthcare.