2020-02-12 20:15:43 +01:00
|
|
|
package com.baeldung;
|
2019-10-31 20:43:47 -05:00
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
import org.junit.runner.RunWith;
|
|
|
|
|
import org.springframework.test.context.ContextConfiguration;
|
|
|
|
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|
|
|
|
|
|
|
|
|
import com.baeldung.spring.data.es.config.Config;
|
|
|
|
|
|
|
|
|
|
/**
|
2020-05-19 19:21:51 -04:00
|
|
|
* This Manual test requires: Elasticsearch instance running on localhost:9200.
|
2020-05-12 21:41:51 -04:00
|
|
|
*
|
2020-05-19 19:44:42 -04:00
|
|
|
* The following docker command can be used: docker run -d --name es762 -p
|
|
|
|
|
* 9200:9200 -e "discovery.type=single-node" elasticsearch:7.6.2
|
2019-10-31 20:43:47 -05:00
|
|
|
*/
|
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class)
|
|
|
|
|
@ContextConfiguration(classes = Config.class)
|
|
|
|
|
public class SpringContextManualTest {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
|
|
|
}
|
|
|
|
|
}
|