Germany to play Switzerland and Israel
Germany, hoping to clinch their first major trophy since 1996, will travel to Basel on May 26 to face Switzerland before hosting Israel in Leipzig on June 1.
The Euros kick off on June 8.
"We look forward to these games as part of our Euro preparation," Germany coach Joachim Low said.
"The Swiss are a tough side and that will be a good test for us," he said with Germany scheduled to be in a training camp in southern France at the time.
"What is also positive is that we can leave and come back to our camp on the same day."
Three-times European champions Germany, who won all 10 of their qualifiers, have been drawn in Group B alongside Netherlands, Denmark and Portugal.
"The Israelis are also a challenging team who have been constantly improving in the last few years," Low said.