|
|
@@ -1,7 +1,7 @@
|
|
1
|
1
|
package hello;
|
|
2
|
2
|
|
|
3
|
|
-import static org.hamcrest.Matchers.equalTo;
|
|
4
|
|
-import static org.junit.Assert.assertThat;
|
|
|
3
|
+import static org.hamcrest.Matchers.*;
|
|
|
4
|
+import static org.junit.Assert.*;
|
|
5
|
5
|
|
|
6
|
6
|
import java.net.URL;
|
|
7
|
7
|
|
|
|
@@ -9,9 +9,9 @@ import org.junit.Before;
|
|
9
|
9
|
import org.junit.Test;
|
|
10
|
10
|
import org.junit.runner.RunWith;
|
|
11
|
11
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
12
|
|
-import org.springframework.boot.context.embedded.LocalServerPort;
|
|
13
|
12
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
14
|
13
|
import org.springframework.boot.test.web.client.TestRestTemplate;
|
|
|
14
|
+import org.springframework.boot.web.server.LocalServerPort;
|
|
15
|
15
|
import org.springframework.http.ResponseEntity;
|
|
16
|
16
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
17
|
17
|
|