public abstract class AbstractRemoveVariablePropertyProcessorTestCase extends AbstractMuleContextTestCase
| Modifier and Type | Field and Description |
|---|---|
static Charset |
ENCODING |
static String |
EXPRESSION |
static String |
EXPRESSION_VALUE |
static String |
NULL_EXPRESSION |
static String |
PLAIN_STRING_KEY |
BLOCK_TIMEOUT, componentLocator, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, NON_GRACEFUL_SHUTDOWN_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testServicesConfigurationBuilder, testServicesConfigurationBuilderSupplier, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectorychain, DEFAULT_TEST_TIMEOUT_SECS, name, TEST_CONNECTOR, TEST_CONNECTOR_LOCATION, TEST_PAYLOAD, TEST_TIMEOUT_SYSTEM_PROPERTY| Constructor and Description |
|---|
AbstractRemoveVariablePropertyProcessorTestCase(AbstractRemoveVariablePropertyProcessor abstractAddVariableProcessor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addMockedPropeerties(CoreEvent event,
Set<String> properties) |
protected CoreEvent |
createTestEvent(org.mule.runtime.api.message.Message message) |
void |
setUpTest() |
void |
testRemoveVariable() |
void |
testRemoveVariableExpressionKeyNullValue() |
void |
testRemoveVariableNullKey() |
void |
testRemoveVariableUsingExpression() |
void |
testRemoveVariableWithRegexExpression() |
protected abstract void |
verifyNotRemoved(CoreEvent mockEvent,
String somevar) |
protected abstract void |
verifyRemoved(CoreEvent mockEvent,
String key) |
addBuilders, awaitLatch, configureMuleContext, createMuleContext, createMuleContext, disposeContext, disposeContextPerTest, disposeOnlyMuleContext, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, doTestClassInjection, getAppleFlowComponentLocationAnnotations, getBuilder, getConfigurationResources, getDeploymentProperties, getEventBuilder, getExecutionClassLoader, getFileInsideWorkingDirectory, getFlowComponentLocationAnnotations, getObjectSerializer, getPayload, getPayload, getPayloadAsBytes, getPayloadAsString, getSensingNullMessageProcessor, getStartUpRegistryObjects, getTriggerableMessageSource, getWorkingDirectory, isDisposeContextPerClass, isGracefulShutdown, isStartContext, mockExprExecutorService, mockHttpService, process, recordSchedulersOnInit, setDisposeContextPerClass, setStartContext, setUpMuleContext, sleepFor, verifyAndStopSchedulersaddMockComponentLocation, clearRequestContext, clearTestCaseName, clearTestEvents, collectThreadNames, createTestTimeoutRule, dumpFilteredThreadsInTest, getFeatureFlaggingService, getMavenProjectVersionProperty, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isFailOnTimeout, isOffline, newEvent, nullPayloadEvent, takeTestCaseName, testEventpublic static final Charset ENCODING
public static final String PLAIN_STRING_KEY
public static final String EXPRESSION
public static final String EXPRESSION_VALUE
public static final String NULL_EXPRESSION
public AbstractRemoveVariablePropertyProcessorTestCase(AbstractRemoveVariablePropertyProcessor abstractAddVariableProcessor)
protected CoreEvent createTestEvent(org.mule.runtime.api.message.Message message) throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void testRemoveVariable()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void testRemoveVariableUsingExpression()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void testRemoveVariableNullKey()
public void testRemoveVariableExpressionKeyNullValue()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void testRemoveVariableWithRegexExpression()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected abstract void addMockedPropeerties(CoreEvent event, Set<String> properties)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.