Eggs can be part of a meal, but the evidence does not establish them as a reliable way to raise testosterone. Cholesterol is involved in making steroid hormones. That biological role does not show that eating more cholesterol raises hormone levels.
What the whole-egg trial measured
One small 12-week trial in resistance-trained young men reported higher testosterone in the whole-egg group than in the egg-white group. It found no between-group difference in muscle mass. Yolks differ from egg whites in several nutrients, so the study cannot identify cholesterol as the cause of the difference.
What to do with that result
Choose foods in the context of your overall diet. The American Heart Association advisory emphasizes the overall eating pattern when considering dietary cholesterol and cardiovascular health. If you are concerned about low testosterone, seek an assessment rather than using egg intake as a test or treatment.
See the whole-egg trial, American Heart Association advisory and Endocrine Society guideline.