GELSENKIRCHEN, Germany (AP) Germany had a comfortable if uninspiring 2-0 win over Hungary in its final warmup for the European Championship on Saturday.
An own goal from Adam Lang toward the end of the first half and a poacher's effort from Thomas Mueller early in the second ensured the World Cup champions got back to winning ways following the 3-1 friendly defeat to Slovakia in Augsburg last weekend.
Mario Goetze, who forced Lang to score at the wrong end, and Toni Kroos, an assured presence in midfield, both impressed for Germany.
''It was a reasonable test,'' Kroos said. ''We only allowed one good chance for Hungary in the first half. Altogether the performance was in order.''
Captain Bastian Schweinsteiger came on for Kroos in the second half to return from his second serious knee injury of the year, suffered in training on March 22.
Germany's Euro 2016 opener is against Ukraine in Lille on June 12. Two days later, Hungary opens against Austria in Bordeaux.
''We have a few things to work on for next week,'' said Germany coach Joachim Loew, whose side also faces Poland and Northern Ireland in Group C. ''The team wasn't so fresh. That will be different next week.''
Loew started with arguably his strongest available lineup, with Goetze forward and Mesut Ozil just behind, flanked by Julian Draxler on the left and Mueller on the right.
Draxler replaced Marco Reus, ruled out of the tournament with a groin injury, while Antonio Ruediger took Mats Hummels' place in central defense. Hummels has a calf injury and will likely miss the game against Ukraine.
Draxler had a goal ruled out for offside in the first minute, though TV replays showed he was well onside for Goetze's clever pass to the far post.
Goetze thought he'd scored in the 39th minute, but Lang was awarded the score as the ball came off his shin from Jonas Hector's cross. Draxler had sent Hector through, though it looked like the defender was slightly offside. The flag stayed down this time.
Mueller settled the issue in the 63rd, converting the rebound at the far post after Gomez brought a flying save from Gabor Kiraly. Gomez, who'd come on at the break, was slightly offside for Jerome Boateng's cross but he connected with a fine header and the flag stayed down again.
The biggest cheer came for Schweinsteiger's return in the 68th. Lukas Podolski came on later too to celebrate his 31st birthday.
Germany departs for its team base at Evian-les-Bains on Tuesday.