How to become an undercover reporter

You’ve seen it in movies, but what does undercover reporting actually look like in real life?