(CNN) - Barack Obama is getting a bit "testy," John McCain said later Wednesday at a town-hall event with New Mexico voters.
According to prepared remarks sent out by the McCain campaign, the Arizona senator will respond to Obama's Tuesday contention that the presumptive Republican nominee is questioning his patriotism.
"Yesterday, Senator Obama got a little testy on this issue - he said that I am questioning his patriotism. Let me be clear: I am not questioning his patriotism; I am questioning his judgment," McCain will say. "Senator Obama has made it clear that he values withdrawal from Iraq above victory in Iraq, even today with victory in sight."
Watch: Obama: I love my country
On Tuesday, Obama directly criticized McCain's recent comments saying the Illinois senator would "rather lose a war in order to win a political campaign." Top campaign surrogate Joe Lieberman also suggested last week Obama has not always "put the country first."
“In my opinion, the choice could not be more clear...between one candidate, John McCain, who has always put the country first, worked across party lines to get things done, and one candidate who has not," Lieberman said last week.
Related: What is patriotism?