Is there anyway for me to test Hosted Tokenization on my local instance of a web app?

It looks like I need a source domain... does that mean I absolutely need to have the web app deployed somewhere before I can use hosted tokenization? It feels so much more difficult to develop and test something that only works when deployed.