e28fd3e7c9
update to use the givenX_whenY_thenZ naming convention for tests Co-Authored-By: KevinGilmore <kpg102@gmail.com>
23 lines
785 B
Java
23 lines
785 B
Java
package org.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.thymeleaf.config.InitSecurity;
|
|
import com.baeldung.thymeleaf.config.WebApp;
|
|
import com.baeldung.thymeleaf.config.WebMVCConfig;
|
|
import com.baeldung.thymeleaf.config.WebMVCSecurity;
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class)
|
|
@WebAppConfiguration
|
|
@ContextConfiguration(classes = { WebApp.class, WebMVCConfig.class, WebMVCSecurity.class, InitSecurity.class })
|
|
public class SpringContextIntegrationTest {
|
|
|
|
@Test
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
}
|
|
}
|