You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
454 B
21 lines
454 B
package api.menu.playa;
|
|
|
|
import io.quarkus.test.junit.QuarkusTest;
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
import static io.restassured.RestAssured.given;
|
|
import static org.hamcrest.CoreMatchers.is;
|
|
|
|
@QuarkusTest
|
|
public class GreetingResourceTest {
|
|
|
|
@Test
|
|
public void testHelloEndpoint() {
|
|
given()
|
|
.when().get("/hello")
|
|
.then()
|
|
.statusCode(200)
|
|
.body(is("Hello from RESTEasy Reactive"));
|
|
}
|
|
|
|
} |