Extract utility method in test.
Extract utility method in test.

hardtoe/stripe-java,AdamStelmaszczyk/stripe-java,stripe/stripe-java,rgarbi/stripe-java,kbouzidi/stripe-java,shalecraig/stripe-java,zs-engg/stripe-sdk