protected void getUser(final Session session, final AuthProviderListener listener) {
		Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {
			// callback after Graph API response with user object
			@Override
			public void onCompleted(GraphUser user, Response response) {
				if(response.getError() != null) {
					handleError(response.getError().getException(), listener);
				}
				else if (user != null) {
					handleResult(session, user, listener);
				}
			}
		});
	}
protected void getUser(final Session session, final AuthProviderListener listener) {
		Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {
			
			@Override
			public void onCompleted(GraphUser user, Response response) {
				if(response.getError() != null) {
					handleError(response.getError().getException(), listener);
				}
				else if (user != null) {
					handleResult(session, user, listener);
				}
			}
		});
	}
protected void getUser ( final Session session , final AuthProviderListener listener ) { Request . executeMeRequestAsync ( session , new Request . GraphUserCallback ( ) { // callback after Graph API response with user object @ Override public void onCompleted ( GraphUser user , Response response ) { if ( response . getError ( ) != null ) { handleError ( response . getError ( ) . getException ( ) , listener ) ; } else if ( user != null ) { handleResult ( session , user , listener ) ; } } } ) ; }
so we can mock
so we can mock