X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fmain%2FSoneModuleTest.kt;h=676ca6b59916c27d6f640004f07acefb429f4471;hb=76f80f2904bc44149bda93e7c93e90568f2e4a80;hp=1a71f4b867ba3c797b502de4973f523cb22dccf4;hpb=146335994dc415527bc4c8ec9a0981d739444ea8;p=Sone.git diff --git a/src/test/kotlin/net/pterodactylus/sone/main/SoneModuleTest.kt b/src/test/kotlin/net/pterodactylus/sone/main/SoneModuleTest.kt index 1a71f4b..676ca6b 100644 --- a/src/test/kotlin/net/pterodactylus/sone/main/SoneModuleTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/main/SoneModuleTest.kt @@ -17,6 +17,7 @@ import net.pterodactylus.util.config.* import net.pterodactylus.util.version.Version import org.hamcrest.MatcherAssert.* import org.hamcrest.Matchers.* +import org.junit.experimental.categories.* import org.mockito.Mockito.* import java.io.* import java.util.concurrent.* @@ -25,6 +26,7 @@ import kotlin.test.* const val versionString = "v80" +@Category(NotParallel::class) class SoneModuleTest { private val currentDir: File = File(".") @@ -226,4 +228,9 @@ class SoneModuleTest { injector.verifySingletonInstance() } + @Test + fun `sone URI creator is created as singleton`() { + injector.verifySingletonInstance() + } + }