blob: 41f96bb194cf8bc00ebbd1f01277bf30476c1a27 [file] [log] [blame]
package eu.mulk
import io.quarkus.test.junit.QuarkusTest
import io.restassured.RestAssured.given
import org.hamcrest.CoreMatchers.`is`
import org.junit.jupiter.api.Test
@QuarkusTest
class ExampleResourceTest {
@Test
def testHelloEndpoint() = {
given()
.`when`()
.get("/hello")
.`then`()
.statusCode(200)
.body(`is`("hello"))
}
}