mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-10 10:17:41 +01:00
Add injection test for AsyncSafetyTeleporter
This commit is contained in:
parent
91f9842b24
commit
a2f6e201d0
@ -11,6 +11,7 @@ import org.mvplugins.multiverse.core.commandtools.PluginLocales
|
|||||||
import org.mvplugins.multiverse.core.config.MVCoreConfig
|
import org.mvplugins.multiverse.core.config.MVCoreConfig
|
||||||
import org.mvplugins.multiverse.core.economy.MVEconomist
|
import org.mvplugins.multiverse.core.economy.MVEconomist
|
||||||
import org.mvplugins.multiverse.core.listeners.*
|
import org.mvplugins.multiverse.core.listeners.*
|
||||||
|
import org.mvplugins.multiverse.core.teleportation.AsyncSafetyTeleporter
|
||||||
import org.mvplugins.multiverse.core.teleportation.SimpleBlockSafety
|
import org.mvplugins.multiverse.core.teleportation.SimpleBlockSafety
|
||||||
import org.mvplugins.multiverse.core.teleportation.SimpleLocationManipulation
|
import org.mvplugins.multiverse.core.teleportation.SimpleLocationManipulation
|
||||||
import org.mvplugins.multiverse.core.teleportation.TeleportQueue
|
import org.mvplugins.multiverse.core.teleportation.TeleportQueue
|
||||||
@ -26,6 +27,11 @@ class InjectionTest : TestWithMockBukkit() {
|
|||||||
assertNotNull(multiverseCore.getService(AnchorManager::class.java))
|
assertNotNull(multiverseCore.getService(AnchorManager::class.java))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun `AsyncSafetyTeleporter is available as a service`() {
|
||||||
|
assertNotNull(multiverseCore.getService(AsyncSafetyTeleporter::class.java))
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun `BlockSafety is available as a service`() {
|
fun `BlockSafety is available as a service`() {
|
||||||
assertNotNull(multiverseCore.getService(BlockSafety::class.java))
|
assertNotNull(multiverseCore.getService(BlockSafety::class.java))
|
||||||
|
Loading…
Reference in New Issue
Block a user