WIP:Added a html-controller
authorKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 09:04:47 +0000 (10:04 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 09:04:47 +0000 (10:04 +0100)
src/test/java/de/juplo/demo/HtmlControllerTest.java

index 9c4fc0d..08b03f0 100644 (file)
@@ -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);
   }