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 boolean success = false, failure = false;

    public User user;
    public AuthException exception;

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

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

}
@@ -222,17 +222,16 @@
 tener %7B%0A
-%0A
     publ
@@ -237,107 +237,106 @@
 lic 
-boolean success = false, failure = false;%0A%0A    public User user;%0A    public AuthException exception
+AuthException exception;%0A    public User user;%0A    public boolean success = false, failure = false
 ;%0A%0A 
@@ -383,16 +383,45 @@
 ser user
+, String userId, String token
 )%7B%0A     
@@ -645,6 +645,6 @@
   %7D%0A
-%0A
 %7D
+%0A

Add user id and token parameters to success method in mock auth response listener test