-
-
Save GuilhE/fe61c7587982d817a4d5c4faa02e35ea to your computer and use it in GitHub Desktop.
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
class MagicDaoTest : KoinTest { | |
private lateinit var dao: MagicDao | |
@BeforeTest | |
fun setUp() { | |
startKoin { | |
modules(databaseDiTestModule()) | |
} | |
dao = get<MagicDao>() | |
} | |
@AfterTest | |
fun finish() { | |
stopKoin() | |
} | |
//Test functions... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment