package io.github.tobyhs.weatherweight.forecast;

import dagger.Module;
import dagger.Provides;
import dagger.android.ContributesAndroidInjector;

import static org.mockito.Mockito.mock;

/**
 * Dagger module for {@link ForecastActivity} in tests
 */
@Module
public abstract class TestForecastModule {
    @ContributesAndroidInjector
    abstract ForecastActivity contributeForecastActivityInjector();

    /**
     * @return mock presenter
     */
    @Provides
    public static ForecastPresenter forecastPresenter() {
        return mock(ForecastPresenter.class);
    }
}

@@ -492,17 +492,24 @@
 esenter 
-f
+provideF
 orecastP

Rename method to provideForecastPresenter in TestForecastModule