Albert Riera and Fernando Torres fired as Spain warmed up for the Confederations Cup with a 6-0 thrashing of Azerbaijan.
Riera bagged his third international goal on 67 minutes following a first-half hat-trick from David Villa.
Torres then hit his 19th Spain strike in the dying moments.
The pair played all 90 minutes alongside clubmates Alvaro Arbeloa and Xabi Alonso, while Pepe Reina replaced Iker Casillas for the second period.
Spain now travel to South Africa where they will kick off against New Zealand on June 14. Also in Group A are Iraq and the hosts.
The five Liverpool stars will be out there until June 28 should Spain reach the final.
Riera bagged his third international goal on 67 minutes following a first-half hat-trick from David Villa.
Torres then hit his 19th Spain strike in the dying moments.
The pair played all 90 minutes alongside clubmates Alvaro Arbeloa and Xabi Alonso, while Pepe Reina replaced Iker Casillas for the second period.
Spain now travel to South Africa where they will kick off against New Zealand on June 14. Also in Group A are Iraq and the hosts.
The five Liverpool stars will be out there until June 28 should Spain reach the final.