--- /dev/null
+package net.pterodactylus.rhynodge.loader
+
+import com.google.inject.Guice
+import net.pterodactylus.util.inject.ObjectBinding
+import org.junit.jupiter.api.Test
+
+class ReactionLoaderTest {
+
+ @Test
+ fun `reaction loader can be created by guice`() {
+ val injector = Guice.createInjector(
+ ObjectBinding.forClass(String::class.java).named("smtpHostname").`is`("host"),
+ ObjectBinding.forClass(String::class.java).named("emailSender").`is`("sender"),
+ ObjectBinding.forClass(String::class.java).named("emailRecipient").`is`("recipient"),
+ )
+ injector.getInstance(ReactionLoader::class.java)
+ }
+
+}