Jose Aldo overcame the stiffest test of his featherweight title tenure to defeat challenger Chad Mendes by unanimous decision at UFC 179 in Rio de Janeiro.