The last, but certainly not the least, macronutrient to be concerned about is fat. You’ll want to get about 30% of your total calories from fat, but don’t overload on polyunsaturated fats like those found in salmon, other fatty fish and vegetable oils. Instead, concentrate on choosing monounsaturated fats found in nuts, olives, olive oil and avocados, and saturated fats from red meat and egg yolks. Unorthodox as this advice may be, research suggests that polyunsaturated fats lower testosterone levels, while monounsaturated and even saturated fats raise T levels.
The most commonly used AAS in medicine are testosterone and its various esters (but most commonly testosterone undecanoate , testosterone enanthate , testosterone cypionate , and testosterone propionate ),  nandrolone esters (most commonly nandrolone decanoate and nandrolone phenylpropionate ), stanozolol , and metandienone (methandrostenolone).  Others also available and used commonly but to a lesser extent include methyltestosterone , oxandrolone , mesterolone , and oxymetholone , as well as drostanolone propionate , metenolone (methylandrostenolone), and fluoxymesterone .  Dihydrotestosterone (DHT; androstanolone, stanolone) and its esters are also notable, although they are not widely used in medicine.  Boldenone undecylenate and trenbolone acetate are used in veterinary medicine . 
Several studies concluded that diets low in fat (under 15% of total calories) significantly decreased testosterone levels while diets higher in fat (above 30% of total calories) increased serum testosterone levels. Rather than continuing with this discussion I will provide a link to an article which covers the subject quite nicely. To simplify everything that I have said, it seems that one should not lower fat below 15% of daily calories unless they would like to face extreme testosterone deficiencies. Likewise, one should not increase fat to say 40% in order to increase testosterone. Although fat increases testosterone to a degree, it is important to remember that testosterone is only a small piece of the larger puzzle. There are many other hormones and factors involved in building muscle other than just testosterone. By increasing fat to extremely high levels, there will be less “space” for carbohydrates and protein, both of which are very important for aforementioned reasons.