Collisionless Shocks as a Diagnostic Tool for Understanding Energetic Particle Transport in Space Plasmas