🔀 Merge next
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / core / FreenetInterfaceTest.kt
index cdf0dfb..6647434 100644 (file)
@@ -88,7 +88,7 @@ class FreenetInterfaceTest {
 
        @Before
        fun setupCallbackCaptorAndUskManager() {
-               doNothing().`when`(uskManager).subscribe(any(USK::class.java), callbackCaptor.capture(), anyBoolean(), any(RequestClient::class.java))
+               doNothing().whenever(uskManager).subscribe(any(USK::class.java), callbackCaptor.capture(), anyBoolean(), any(RequestClient::class.java))
        }
 
        @Test