Animals learn very quickly to avoid the button or lever that delivers a shock while pressing the button that delivers the food.  Many psychologists dispute behaviorism's ability to tell the whole story.  After all, human beings respond to more than just rewards and punishments.