Files
spring-boot-rest/persistence-modules/spring-boot-persistence-h2/src/test/java/com/baeldung/SpringContextIntegrationTest.java
Seun Matt b798326b29 improvement BAEL-2897 (#6795)
* added example code for BAEL-2083

* updated example code for BAEL-2083

* added example code for BAEL-2849

* updated the example code with data.sql

* improvement BAEL-2897

* updated the persistence module

* updated readme
2019-04-24 08:05:24 -07:00

20 lines
620 B
Java

package com.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.support.AnnotationConfigContextLoader;
import org.springframework.test.context.web.WebAppConfiguration;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(loader = AnnotationConfigContextLoader.class)
@WebAppConfiguration
public class SpringContextIntegrationTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}