2020-07-19 14:30:26 +05:30
|
|
|
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;
|
|
|
|
|
import com.baeldung.boot.config.PersistenceConfiguration;
|
|
|
|
|
|
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
|
@DataJpaTest(excludeAutoConfiguration = {
|
2022-01-25 22:21:39 +05:30
|
|
|
PersistenceConfiguration.class })
|
2020-07-19 14:30:26 +05:30
|
|
|
@ContextConfiguration(classes = Application.class)
|
|
|
|
|
public class SpringJpaContextIntegrationTest {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
|
|
|
}
|
|
|
|
|
}
|