File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
persistence-modules/spring-boot-h2/spring-boot-h2-database/src/test/java/com/baeldung Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments