Bastian Schweinsteiger opened the scoring from the penalty spot in Germany's 3-2 victory over Brazil in Stuttgart before Mario Goetze and Andre Schuerrle also netted for the hosts.
Robinho and Neymar scored for five-time World Cup winner Brazil, which hosts the 2014 tournament.
Spain, which won the 2010 World Cup, saw an under-strength side fall 2-1 in Italy.
While Spain midfielder Xabi Alonso canceled out Riccardo Montolivo's opener, Alberto Aquilani scored a late winner for Italy.
The friendly between England and the Netherlands was canceled due to non-football related disorder in London.