package org.baeldung.um.web; import org.baeldung.client.spring.CommonClientConfig; import org.baeldung.um.spring.UmClientConfig; import org.baeldung.um.spring.UmContextConfig; import org.baeldung.um.spring.UmPersistenceJpaConfig; import org.baeldung.um.spring.UmServiceConfig; import org.baeldung.um.spring.UmWebConfig; 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; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = { CommonClientConfig.class, UmPersistenceJpaConfig.class, UmContextConfig.class, UmServiceConfig.class, UmClientConfig.class, UmWebConfig.class }) @WebAppConfiguration public class WebSpringIntegrationTest { @Test public final void whenContextIsBootstrapped_thenOk() { // } }