Stay up to date with the latest news
Subscribe to our telegram channel
Mesut Ozil scored the only goal of the game on the hour to ensure a victory for German side.
In the second match of the Group, Australia overcame Serbia 2-1 in Nelspruit, but both team suffered the World Cup elimination.
Tim Cahill and Brett Holman were on target for Australia, while Serbian substitute Marko Pantelic pulled one back from close range.