Class MockIntegrationContext

java.lang.Object
org.springframework.integration.test.context.MockIntegrationContext
All Implemented Interfaces:
Aware, BeanFactoryAware

public class MockIntegrationContext extends Object implements BeanFactoryAware
A BeanFactoryAware component with an API to customize real beans in the application context from test code.

The bean for this class is registered automatically via the SpringIntegrationTest annotation and can be autowired into test class.

Since:
5.0
Author:
Artem Bilan, Yicheng Feng
See Also:
  • Field Details

    • MOCK_INTEGRATION_CONTEXT_BEAN_NAME

      public static final String MOCK_INTEGRATION_CONTEXT_BEAN_NAME
      The bean name for the mock integration context.
      See Also:
  • Constructor Details

    • MockIntegrationContext

      public MockIntegrationContext()
  • Method Details