Cardiopulmonary exercise testing is equally prognostic in young, middle-aged and older individuals diagnosed with heart failure.