Skip to content

Instantly share code, notes, and snippets.

View hygl's full-sized avatar

Philipp Hügelmeyer hygl

View GitHub Profile
@odrotbohm
odrotbohm / MyTest.java
Created October 31, 2012 10:54
Using JavaConfig and XML configuration in Spring integration tests
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class MyTest {
@Configuration
@ImportResource("classpath:META-INF/spring/application-context.xml")
static class Config {
// JavaConfig goes here