From: Kai Moritz Date: Tue, 14 Jan 2020 09:04:47 +0000 (+0100) Subject: WIP:Added a html-controller X-Git-Tag: wip-it~8 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=e71ef0196dc839016a6d4b0462fd7a996d4675fc;p=demos%2Ftesting WIP:Added a html-controller --- diff --git a/src/test/java/de/juplo/demo/HtmlControllerTest.java b/src/test/java/de/juplo/demo/HtmlControllerTest.java index 9c4fc0d..08b03f0 100644 --- a/src/test/java/de/juplo/demo/HtmlControllerTest.java +++ b/src/test/java/de/juplo/demo/HtmlControllerTest.java @@ -5,7 +5,6 @@ import static org.assertj.core.api.AssertionsForClassTypes.assertThat; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.mockito.Mockito; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.springframework.boot.test.mock.mockito.MockBean; @@ -32,7 +31,6 @@ public class HtmlControllerTest @BeforeEach void setUp() { - service = Mockito.mock(RemoteContentService.class); controller = new HtmlController(service); }