Skip to content

Commit 4b4e5ab

Browse files
committed
Add a test to spring-boot-h2 module
1 parent ee34c02 commit 4b4e5ab

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.baeldung;
2+
3+
import org.junit.Test;
4+
import org.junit.runner.RunWith;
5+
import org.springframework.test.context.ContextConfiguration;
6+
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
7+
import org.springframework.test.context.support.AnnotationConfigContextLoader;
8+
import org.springframework.test.context.web.WebAppConfiguration;
9+
10+
11+
@RunWith(SpringJUnit4ClassRunner.class)
12+
@ContextConfiguration(loader = AnnotationConfigContextLoader.class)
13+
@WebAppConfiguration
14+
public class SpringContextIntegrationTest {
15+
16+
@Test
17+
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
18+
}
19+
}

0 commit comments

Comments
 (0)