if you are using paypal payments pro, you can set the local c server behavior on the confirm page to use the paypal sand box. you will need to Sign up for sand box api credentials and log into your sand box account.
See the paypal documentation for using the sand box:
howto_testing_sandbox