public class BatchTestContextCustomizer
extends java.lang.Object
implements org.springframework.test.context.ContextCustomizer
ContextCustomizer
implementation that adds batch test utility classes
(JobLauncherTestUtils
and JobRepositoryTestUtils
) as beans in
the test context.Constructor and Description |
---|
BatchTestContextCustomizer() |
Modifier and Type | Method and Description |
---|---|
void |
customizeContext(org.springframework.context.ConfigurableApplicationContext context,
org.springframework.test.context.MergedContextConfiguration mergedConfig) |