A dog has been trained to catch a frisbee.