3 import org.junit.jupiter.api.Test;
4 import org.springframework.beans.factory.annotation.Autowired;
5 import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
6 import org.springframework.boot.test.context.SpringBootTest;
7 import org.springframework.test.web.reactive.server.WebTestClient;
11 @AutoConfigureWebTestClient
12 class DemoApplicationTests {
20 void getWelcomeResponseIsOk(@Autowired WebTestClient webClient) {
24 .expectStatus().isOk();