Search in sources :

Example 1 with SocialProviderResponseHandler

use of com.firebase.ui.auth.viewmodel.idp.SocialProviderResponseHandler in project FirebaseUI-Android by firebase.

the class SocialProviderResponseHandlerTest method setUp.

@Before
public void setUp() {
    TestHelper.initialize();
    MockitoAnnotations.initMocks(this);
    mHandler = new SocialProviderResponseHandler((Application) ApplicationProvider.getApplicationContext());
    FlowParameters testParams = TestHelper.getFlowParameters(AuthUI.SUPPORTED_PROVIDERS);
    mHandler.initializeForTesting(testParams, mMockAuth, null);
}
Also used : SocialProviderResponseHandler(com.firebase.ui.auth.viewmodel.idp.SocialProviderResponseHandler) FlowParameters(com.firebase.ui.auth.data.model.FlowParameters) Application(android.app.Application) Before(org.junit.Before)

Aggregations

Application (android.app.Application)1 FlowParameters (com.firebase.ui.auth.data.model.FlowParameters)1 SocialProviderResponseHandler (com.firebase.ui.auth.viewmodel.idp.SocialProviderResponseHandler)1 Before (org.junit.Before)1