As said before, it depends in what ki d of test they perform. Most are a visual inspection of the egr cooler, egr valve and cat. Some do that and a throttle snapping to check for smoke.
I'm registered in Florida, so no inspections at all.
I have friends in NY with dummy EGR coolers and hollow...