I need a bibliographical reference for this fact: let $\mathcal{M}$ be a model category such that all objects are cofibrant; then the class of weak equivalences is the class of maps f such that $\mathcal{M}(f,T)/\simeq$ is a bijection for any fibrant object $T$ where $\simeq$ is the homotopy relation. I would prefer a reference in Hirschorn'sHirschhorn's book (I have it but I cannot find where it is proved). Thanks in advance.