All Blacks captain Richie McCaw showed his class as he became the most capped international player with 142 matches, beating Brian O'Driscoll's record.