Steps for using this repository to test code snippets in https://github.com/firebase/firebase-admin-java/blob/7b991238067137818907847826513bbd62a8f68a/src/test/java/com/google/firebase/snippets/FirebaseAuthSnippets.java.
- 
Clone this repository 
- 
Install Admin Java SDK to the project For InteliJ: File > Project Structure > Library > '+' button > From Maven > Paste the Maven dependency > Apply
- 
Download your Firebase project's service account key In Firebase Console > Project settings > Service accounts > Generate new private key
- 
Open the project in your IDE and go to /firebase-admin-java-snippets-test/src/com/company/Main.java 
- 
Set PATH_TO_SERVICE_ACCOUNT_KEYto the path to your generated service account key (line 23)Optional: Put your tenantId,uid, andidToken(line 35-40)
- 
Set DATABASE_URLto your Firebase project's database URL (line 24)In Firebase Console > Project settings > General > Find "databaseURL" in Config
- 
Add new functions that you want to test 
- 
Call functions in the main() method and verify whether the functions work at Google Cloud console