Fixed dagger test compile error

This commit is contained in:
Risto Lahtela 2020-08-31 09:15:56 +03:00
parent fb8c5f5648
commit d820bcf804

View File

@ -36,6 +36,7 @@ import dagger.Provides;
import org.mockito.Mockito;
import utilities.mocks.TestProcessing;
import javax.inject.Named;
import javax.inject.Singleton;
import static org.mockito.Mockito.when;
@ -116,4 +117,11 @@ public class PluginSuperClassBindingModule {
return mock;
}
@Provides
@Singleton
@Named("mainCommandName")
String provideMainCommandName() {
return "plan";
}
}