2019-10-31 20:43:47 -05:00
|
|
|
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.web.WebAppConfiguration;
|
|
|
|
|
|
|
|
import com.baeldung.spring.configuration.ApplicationConfiguration;
|
2020-04-23 07:23:11 +02:00
|
|
|
import com.baeldung.spring.configuration.EmailConfiguration;
|
2019-10-31 20:43:47 -05:00
|
|
|
|
|
|
|
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class)
|
2020-04-23 07:23:11 +02:00
|
|
|
@ContextConfiguration(classes={ApplicationConfiguration.class, EmailConfiguration.class})
|
2019-10-31 20:43:47 -05:00
|
|
|
@WebAppConfiguration
|
|
|
|
public class SpringContextTest {
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|