Berlin: Midfielder Bastian Schweinsteiger converted two penalties in four minutes to give Germany a morale-boosting 3-1 win over Bosnia in their last World Cup warm-up game.
Germany looked sluggish in the first half but substitutes Thomas Mueller, Marko Marin and Cacau added pace after the interval as Germany struck three times in 27 minutes.
Cacau, who replaced out-of-form striker Miroslav Klose and set up Philipp Lahm`s equaliser, and Mueller, who came on for midfielder Piotr Trochowski and won Germany`s second penalty, staked strong claims for starting spots.
"In the second half, despite three weeks of preparation, we increased the tempo again and that was good to see," Germany coach Joachim Loew told reporters.
"The potential is there. Everyone has worked hard and I think we have a good team, the mood is good in the team and we can play a good tournament."
Defender Lahm, making his debut as Germany captain, helped give the Bosnians a 15th-minute lead when he tried to clear the ball but it struck striker Edin Dzeko and deflected over Germany keeper Manuel Neuer.