package io.trustbuilder.mfa.android.demoapp;

import android.app.Application;

import io.trustbuilder.mfa.android.demoapp.utils.FirebaseServiceFactory;
import io.trustbuilder.mfa.android.demoapp.utils.HasFirebaseServiceFactory;

public class TestApp extends Application
        implements HasFirebaseServiceFactory {

    private final FirebaseServiceFactory firebaseServiceFactory =
            () -> callback -> callback.onTokenReceived("fake-token");

    @Override
    public FirebaseServiceFactory getFirebaseServiceFactory() {
        return firebaseServiceFactory;
    }
}
