2017-01-03 22:23:24 +05:30
|
|
|
package com.baeldung;
|
|
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
2017-01-05 18:14:55 +01:00
|
|
|
public class DataLoaderLiveTest {
|
2017-01-03 22:23:24 +05:30
|
|
|
|
2017-01-05 15:15:53 +01:00
|
|
|
@Test
|
|
|
|
|
public void exampleTest() {
|
2017-01-03 22:23:24 +05:30
|
|
|
RestTemplate restTemplate = new RestTemplate();
|
|
|
|
|
restTemplate.getForObject("http://localhost:8080/startNotification/10", String.class);
|
2017-01-05 15:15:53 +01:00
|
|
|
}
|
|
|
|
|
|
2017-01-03 22:23:24 +05:30
|
|
|
}
|