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 |
NULL_EXPRESSION_VALUE |
static String |
PLAIN_STRING_KEY |
static String |
PLAIN_STRING_VALUE |
BLOCK_TIMEOUT, callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, REACTOR_BLOCK_TIMEOUT_EXCEPTION_MESSAGE, RECEIVE_TIMEOUT, TEST_MESSAGE, testServicesConfigurationBuilder, testServicesConfigurationBuilderSupplier, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectoryDEFAULT_TEST_TIMEOUT_SECS, globalTimeout, name, TEST_CONNECTOR, TEST_CONNECTOR_LOCATION, TEST_PAYLOAD, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME| Constructor and Description |
|---|
AbstractRemoveVariablePropertyProcessorTestCase(AbstractRemoveVariablePropertyProcessor abstractAddVariableProcessor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addMockedPropeerties(Event event,
Set<String> properties) |
protected Event |
createTestEvent(org.mule.runtime.api.message.Message message) |
void |
setUpTest() |
void |
testRemoveVariable() |
void |
testRemoveVariableExpressionKeyNullValue() |
void |
testRemoveVariableNullKey() |
void |
testRemoveVariableUsingExpression() |
void |
testRemoveVariableWithRegexExpression() |
protected abstract void |
verifyNotRemoved(Event mockEvent,
String somevar) |
protected abstract void |
verifyRemoved(Event mockEvent,
String key) |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, eventBuilder, getBuilder, getConfigurationResources, getExecutionClassLoader, getFileInsideWorkingDirectory, getObjectSerializer, getPayload, getPayload, getPayloadAsBytes, getPayloadAsString, getSensingNullMessageProcessor, getStartUpProperties, getTestFlowWithComponent, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, mockExprExecutorService, mockHttpService, process, recordSchedulersOnInit, setDisposeContextPerClass, setStartContext, setUpMuleContext, verifyAndStopSchedulersclearRequestContext, clearTestCaseName, clearTestEvents, collectThreadNames, createTestTimeoutRule, dumpFilteredThreadsInTest, 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 PLAIN_STRING_VALUE
public static final String EXPRESSION
public static final String EXPRESSION_VALUE
public static final String NULL_EXPRESSION
public static final String NULL_EXPRESSION_VALUE
public AbstractRemoveVariablePropertyProcessorTestCase(AbstractRemoveVariablePropertyProcessor abstractAddVariableProcessor)
protected Event 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()
throws org.mule.runtime.api.lifecycle.InitialisationException,
TransformerException
org.mule.runtime.api.lifecycle.InitialisationExceptionTransformerExceptionpublic 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(Event event, Set<String> properties)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.