Remove unnecessary type parameters
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / text / SonePartTest.kt
index 361bd19..31fca48 100644 (file)
@@ -16,7 +16,7 @@ class SonePartTest {
        private val sone = mock<Sone>()
 
        init {
-               `when`(sone.profile).thenReturn(mock<Profile>())
+               `when`(sone.profile).thenReturn(mock())
                `when`(sone.name).thenReturn("sone")
        }