<commit_before>package lt.vilnius.tvarkau.dagger.module

import android.app.Application
import com.nhaarman.mockito_kotlin.mock
import dagger.Module
import dagger.Provides
import lt.vilnius.tvarkau.analytics.Analytics
import javax.inject.Singleton

/**
 * @author <NAME>
 */
@Module
class TestAnalyticsModule {

    @Provides
    @Singleton
    fun providesAnalytics(application: Application): Analytics = mock()
}<commit_msg>Add mock method for MixPanel<commit_after>package lt.vilnius.tvarkau.dagger.module

import android.app.Application
import com.mixpanel.android.mpmetrics.MixpanelAPI
import com.nhaarman.mockito_kotlin.mock
import dagger.Module
import dagger.Provides
import lt.vilnius.tvarkau.analytics.Analytics
import javax.inject.Singleton

/**
 * @author <NAME>
 */
@Module
class TestAnalyticsModule {

    @Provides
    @Singleton
    internal fun providesMixpanel(application: Application): MixpanelAPI = mock()

    @Provides
    @Singleton
    fun providesAnalytics(application: Application): Analytics = mock()
}
{'fraction_non_alphanumeric': 0.0923226433430515, 'fraction_numerical': 0.0, 'mean_word_length': 5.167664670658683, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7489413', 'n_tokens_mistral': 326, 'n_tokens_neox': 307, 'n_words': 66}