We ask candidates to pick a work sample of something they already have, if they have one they can provide. If they don't we give them a relatively painless coding test instead.
It's not perfect, it'd be great if everyone could have a work sample but as you say that's just not the world we live in.