public abstract class AbstractXElementTest<E extends AbstractProcessingElement> extends AbstractXTest
Constructor and Description |
---|
AbstractXElementTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
customizeFrameworkProperties(E element)
Test classes can use this method as an extension point to provide any customizations to the framework properties
of an element
|
protected E |
setFrameworkProperties(E element)
Sets a mock
Project and a mock IntegrationFlow to the provided connector or processing element |
protected E |
setFrameworkProperties(E element,
Project project)
Sets a mock
IntegrationFlow to the provided connector or processing element with a already created project |
afterClass, beforeClass, doAfterMethod, doBeforeMethod, doOnAfterClass, doOnBeforeClass, doSetupBeforeMethod, getLogger, getServerConfig, setUp, tearDown
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
protected final E setFrameworkProperties(E element)
Project
and a mock IntegrationFlow
to the provided connector or processing elementelement
- connector or processing element to set properties toprotected final E setFrameworkProperties(E element, Project project)
IntegrationFlow
to the provided connector or processing element with a already created projectelement
- connector or processing element to set properties toproject
- already created/mocked project instanceprotected void customizeFrameworkProperties(E element)
element
- connector or processing element to customizeCopyright © 2016–2019 AdroitLogic. All rights reserved.