From 26071fce47784cb78f6009a9282cdc807e8043ec Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 14 Jan 2020 10:17:34 +0100 Subject: [PATCH] WIP:mapping --- src/test/java/de/juplo/demo/MappingIT.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/java/de/juplo/demo/MappingIT.java b/src/test/java/de/juplo/demo/MappingIT.java index 58d18b8..fa4f703 100644 --- a/src/test/java/de/juplo/demo/MappingIT.java +++ b/src/test/java/de/juplo/demo/MappingIT.java @@ -3,14 +3,11 @@ package de.juplo.demo; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import static org.mockito.ArgumentMatchers.any; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.test.context.junit.jupiter.SpringExtension; import org.springframework.test.web.reactive.server.WebTestClient; -import reactor.core.publisher.Mono; -import static reactor.core.publisher.Mono.when; /** @@ -30,7 +27,6 @@ public class MappingIT @Test void testHtmlController() { - when(service.getRemoteText(any(String.class))).thenReturn(Mono.just("bar")); webClient .get() .uri("/?path=foo") -- 2.20.1