package com.simperium.test;

import com.simperium.client.AuthException;
import com.simperium.client.AuthResponseListener;
import com.simperium.client.User;

public class MockAuthResponseListener implements AuthResponseListener {
    public AuthException exception;
    public User user;
    public boolean success = false, failure = false;

    @Override
    public void onSuccess(User user, String userId, String token){
        success = true;
        this.user = user;
    }

    @Override
    public void onFailure(User user, AuthException exception){
        failure = true;
        this.user = user;
        this.exception = exception;
    }
}

@@ -65,16 +65,58 @@
 eption;%0A
+import com.simperium.client.AuthProvider;%0A
 import c
@@ -454,16 +454,39 @@
 ng token
+, AuthProvider provider
 )%7B%0A     

Add auth provider parameter to on success callback in mock auth response listener