Search in sources :

Example 1 with EmailLinkSendEmailHandler

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

the class EmailLinkSendEmailHandlerTest method setUp.

@Before
public void setUp() {
    TestHelper.initialize();
    MockitoAnnotations.initMocks(this);
    mHandler = new EmailLinkSendEmailHandler((Application) ApplicationProvider.getApplicationContext());
    FlowParameters testParams = TestHelper.getFlowParameters(new ArrayList<String>());
    mHandler.initializeForTesting(testParams, mMockAuth, null);
    mPersistenceManager = EmailLinkPersistenceManager.getInstance();
}
Also used : FlowParameters(com.firebase.ui.auth.data.model.FlowParameters) EmailLinkSendEmailHandler(com.firebase.ui.auth.viewmodel.email.EmailLinkSendEmailHandler) Application(android.app.Application) Before(org.junit.Before)

Aggregations

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