They're not particularly dumb animals (similar to the average dog), generally they do get the idea pretty quickly. (There is a gradient of warning as they approach the edge of the zone, so it's not just suddenly a big shock)
I'd compare their intelligence to cats, in that a dog uses its intelligence to please its owner, and a cat uses its intelligence to do whatever it pleases. :-)