Last active
August 1, 2019 18:08
-
-
Save Audhil/ed9c26229cea2cc6d3f0203228aefa3a to your computer and use it in GitHub Desktop.
dagger component - https://proandroiddev.com/unit-tests-with-dagger2-retrofit2-rxjava2-and-mockk-android-1c268fa77957
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
@Component( | |
modules = [ | |
(ApplicationModule::class) | |
] | |
) | |
interface TestAppComponent : ApplicationComponent { | |
fun into(appRepositoryTest: AppRepositoryInjectNamedTest) | |
fun into(appRepositoryTest: AppRepositoryInjectTest) | |
fun into(baseTest: BaseTest) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment