Predicting the endurance of adhesive joints