10-22mm lens (crop factor camera, not full frame) 1. Turn off auto focus. 2. Set Aperture at f/22 3. Focus on something 1 meter away (around 3 feet)
DoF should be 14" to infinity
If you do have a DoF scale on the lens, do not focus on anything! Look at rpcrowe's image of the scale. At f/22 everything between 3 meters and infinity should be in focus. Set the focus ring with the 3 just above the orange line and shoot.
Alas, none of my lenses have that scale.