Files
ExtraTestModuleExample/composeApp/src/desktopTest/kotlin/nl/lengrand/GreetingTest.kt
Julien Lengrand-Lambert 158ea47f51 Class def not found error
2025-04-30 10:30:08 +02:00

21 lines
406 B
Kotlin

package nl.lengrand
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import work.socialhub.kbsky.ATProtocolException
class GreetingTest {
@Test
fun greet() {
assertEquals("Hello, you!", Greeting().greet())
}
@Test
fun connect(){
assertThrows<ATProtocolException> { Greeting().connect() }
}
}