Search in sources :

Example 1 with WelcomeBackPasswordHandler

use of com.firebase.ui.auth.viewmodel.email.WelcomeBackPasswordHandler in project FirebaseUI-Android by firebase.

the class WelcomeBackPasswordHandlerTest method setUp.

@Before
public void setUp() {
    TestHelper.initialize();
    MockitoAnnotations.initMocks(this);
    mHandler = new WelcomeBackPasswordHandler((Application) ApplicationProvider.getApplicationContext());
    FlowParameters testParams = TestHelper.getFlowParameters(Collections.singletonList(EmailAuthProvider.PROVIDER_ID));
    mHandler.initializeForTesting(testParams, mMockAuth, mMockCredentials);
}
Also used : FlowParameters(com.firebase.ui.auth.data.model.FlowParameters) WelcomeBackPasswordHandler(com.firebase.ui.auth.viewmodel.email.WelcomeBackPasswordHandler) Application(android.app.Application) Before(org.junit.Before)

Aggregations

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