Germany put their passage to the UEFA Nations League quarter-finals beyond doubt, ensuring they would finish top of Group A3 with a commanding 7-0 win over Bosnia & Herzegovina.