Valencia defender Mustafi powered home the opener from Toni Kroos’s free-kick after just 19 minutes of Sunday’s game.
And Schweinsteiger wrapped up the win in injury time, moments after coming off the bench.
However, Germany were also thankful to captain for the night Neuer as he made stops from Yevhen Konoplyanka and Yevhen Khacheridi, while Jerome Boateng made a spectacular clearance off his own line.