20 lines
542 B
Java
20 lines
542 B
Java
|
package com.baeldung;
|
||
|
|
||
|
import org.junit.Test;
|
||
|
import org.junit.runner.RunWith;
|
||
|
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
|
||
|
import org.springframework.test.context.ContextConfiguration;
|
||
|
import org.springframework.test.context.junit4.SpringRunner;
|
||
|
|
||
|
import com.baeldung.boot.Application;
|
||
|
|
||
|
@RunWith(SpringRunner.class)
|
||
|
@DataJpaTest
|
||
|
@ContextConfiguration(classes = Application.class)
|
||
|
public class SpringJpaContextIntegrationTest {
|
||
|
|
||
|
@Test
|
||
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
||
|
}
|
||
|
}
|