How can I check to see if a used transmission is still good?

Why spend money when you can just put it in the car and see? What is it like 20-25 bolts? How long can it possibly take?