2022-02-22 12:01:06 +05:30
|
|
|
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;
|
|
|
|
|
|
2023-04-30 04:34:19 +02:00
|
|
|
import com.baeldung.hibernate.manytomany.PersistenceConfig;
|
2022-02-22 12:01:06 +05:30
|
|
|
|
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class)
|
|
|
|
|
@ContextConfiguration(classes = { PersistenceConfig.class }, loader = AnnotationConfigContextLoader.class)
|
|
|
|
|
public class SpringContextTest {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
|
|
|
}
|
|
|
|
|
}
|