package de.juplo.demo;
-import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
-import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
-import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
-import org.springframework.test.web.reactive.server.WebTestClient;
-@SpringBootTest(webEnvironment = RANDOM_PORT)
-@Slf4j
-class DemoApplicationTests
-{
- @Autowired
- WebTestClient client;
+@SpringBootTest
+class DemoApplicationTests {
-
- @Test
- void contextLoads()
- {
+ @Test
+ void contextLoads() {
}
+
}
--- /dev/null
+package de.juplo.demo;
+
+
+import lombok.extern.slf4j.Slf4j;
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
+import org.springframework.test.web.reactive.server.WebTestClient;
+
+
+/**
+ * Integration-Test for the {@link DemoController}.
+ * @author Kai Moritz
+ */
+@SpringBootTest(webEnvironment = RANDOM_PORT, classes = DemoController.class)
+@Slf4j
+public class DemoControllerIT
+{
+ @Autowired
+ WebTestClient client;
+
+
+ @Test
+ void testSubmit()
+ {
+
+ }
+}