Skip navigation links
A B C D E F G I M N O P R S T V W 

A

AbstractMockingTool - Class in org.mule.munit.mock.tool
This is the general MUnit Tool
AbstractMockingTool(MuleContext) - Constructor for class org.mule.munit.mock.tool.AbstractMockingTool
 
AbstractMockProcessor - Class in org.mule.munit.mock.processors
Generic Mock Processor.
AbstractMockProcessor() - Constructor for class org.mule.munit.mock.processors.AbstractMockProcessor
 
addAfterCallSpyAssertion(SpyBehavior) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
addBeforeCallSpyAssertion(SpyBehavior) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
addBehavior(MockBehavior) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
addCall(ProcessorCall) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
after(ComponentLocation, InterceptionEvent, Optional<Throwable>) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
after(List<SpyProcess>) - Method in class org.mule.munit.mock.tool.spy.Spy
The SpyProcess to run after the processor
after(SpyProcess...) - Method in class org.mule.munit.mock.tool.spy.Spy
The SpyProcesses to run after the processor
afterCallProcessorSpies - Variable in class org.mule.munit.mock.behavior.DefaultBehaviorManager
The spy actions that are ran after a processor call
allowMocking() - Method in class org.mule.munit.mock.interception.MockingValidator
Validates if the ComponentLocation allow to be spy or not.
around(ComponentLocation, Map<String, ProcessorParameterValue>, InterceptionEvent, InterceptionAction) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
assertionsAfterCall - Variable in class org.mule.munit.mock.processors.SpyProcessor
 
assertionsBeforeCall - Variable in class org.mule.munit.mock.processors.SpyProcessor
 
atLeast(Integer) - Method in class org.mule.munit.mock.tool.verify.Verifier
At least the times it must be called
atLeastOnce() - Method in class org.mule.munit.mock.tool.verify.Verifier
At least one time called
atMost(Integer) - Method in class org.mule.munit.mock.tool.verify.Verifier
At most the times it must be called

B

before(ComponentLocation, Map<String, ProcessorParameterValue>, InterceptionEvent) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
before(List<SpyProcess>) - Method in class org.mule.munit.mock.tool.spy.Spy
The SpyProcess to run before the processor
before(SpyProcess...) - Method in class org.mule.munit.mock.tool.spy.Spy
The SpyProcesses to run before the processor
beforeCallProcessorSpies - Variable in class org.mule.munit.mock.behavior.DefaultBehaviorManager
The spy actions that are ran before a processor call
Behavior - Class in org.mule.munit.mock.behavior
Represents an behavior that has to be executed based on a ProcessorCall.
Behavior(ProcessorCall) - Constructor for class org.mule.munit.mock.behavior.Behavior
 
behaviors - Variable in class org.mule.munit.mock.behavior.DefaultBehaviorManager
These are the behaviors expected for different processor mocks
build(InterceptionEvent, Event) - Method in class org.mule.munit.mock.interception.InterceptingEventBuilder
 

C

calls - Variable in class org.mule.munit.mock.behavior.DefaultBehaviorManager
These are the real calls of the processors.
checkValidQuery() - Method in class org.mule.munit.mock.tool.AbstractMockingTool
 
CONFIG - Static variable in class org.mule.munit.mock.config.MockComponentBuildingDefinitionProvider
 
containsProcessors() - Method in class org.mule.munit.mock.tool.spy.SpyProcessContainer
 
containsProcessors() - Method in class org.mule.munit.mock.tool.spy.SpyProcessImpl
 
containsProcessors() - Method in interface org.mule.munit.mock.tool.spy.SpyProcessorContainer
It validates if it contains processors
createInterceptor(BehaviorManager, ErrorTypeRepository) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptorFactory
 
createSpy(MessageProcessorChain) - Method in class org.mule.munit.mock.MockModule
 
createSpyAssertion(ProcessorCall, List<SpyProcess>) - Method in class org.mule.munit.mock.tool.spy.Spy
 

D

DefaultBehaviorManager - Class in org.mule.munit.mock.behavior
Manages the mocking process.
DefaultBehaviorManager() - Constructor for class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
doProcess(InternalEvent, MockModule) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
The method that do the actual process
doProcess(InternalEvent, MockModule) - Method in class org.mule.munit.mock.processors.SpyProcessor
Invokes the Processor.

E

expressionWrapper - Variable in class org.mule.munit.mock.processors.AbstractMockProcessor
 

F

findCallsFor(ProcessorId, Map<String, Object>) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
Retrieve all the execute calls for a message processor that satisfies the attribute matchers
findOrCreate(Class<?>, boolean) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 

G

get() - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptorFactory
 
getBaseErrorMessage() - Method in class org.mule.munit.mock.interception.MockingValidator
 
getBetterMatchingAction(ProcessorCall, Collection<T>) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
getBetterMatchingAfterSpyAssertion(ProcessorCall) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
Gets the best matching After Spy assertion.
getBetterMatchingBeforeSpyAssertion(ProcessorCall) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
Gets the best matching Before Spy assertion.
getBetterMatchingBehavior(ProcessorCall) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
Gets the best matching Behavior.
getCalls() - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
getComponentBuildingDefinitions() - Method in class org.mule.munit.mock.config.MockComponentBuildingDefinitionProvider
 
getEvaluatedAttributes(Object, Event) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
getEvent() - Method in class org.mule.munit.mock.behavior.MockBehavior
 
getFullName() - Method in class org.mule.munit.mock.tool.AbstractMockingTool
 
getManager() - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
getManager() - Method in class org.mule.munit.mock.tool.AbstractMockingTool
 
getModule(InternalEvent, String) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
getProcessor() - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
getProcessorCall() - Method in class org.mule.munit.mock.behavior.Behavior
 
getProcessorName() - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
getProcessorName() - Method in class org.mule.munit.mock.processors.SpyProcessor
 
getProcessors() - Method in class org.mule.munit.mock.behavior.SpyBehavior
 
getWithAttributes() - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
getXmlNamespacesInfo() - Method in class org.mule.munit.mock.config.MockXmlNamespaceInfoProvider
 

I

ID - Static variable in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
init() - Method in class org.mule.munit.mock.config.MockComponentBuildingDefinitionProvider
 
initialise() - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
initialise() - Method in class org.mule.munit.mock.processors.SpyProcessor
 
intercept(ComponentLocation) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptorFactory
 
InterceptingEventBuilder - Class in org.mule.munit.mock.interception
The objective of this class is to mutate the received InterceptionEvent.
InterceptingEventBuilder() - Constructor for class org.mule.munit.mock.interception.InterceptingEventBuilder
 
isBehaviorValid(MockBehavior) - Method in class org.mule.munit.mock.interception.MockingValidator
Based on the given ComponentLocation validates if the MockBehavior tries to set an invalid value.
isInvalidExpression(Object) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 

M

MockBehavior - Class in org.mule.munit.mock.behavior
The representation of a processor mocked behavior.
MockBehavior(ProcessorCall, Event) - Constructor for class org.mule.munit.mock.behavior.MockBehavior
 
MockBehavior(ProcessorCall) - Constructor for class org.mule.munit.mock.behavior.MockBehavior
 
MockComponentBuildingDefinitionProvider - Class in org.mule.munit.mock.config
Provides the component definition of the mocking processors
MockComponentBuildingDefinitionProvider() - Constructor for class org.mule.munit.mock.config.MockComponentBuildingDefinitionProvider
 
mocker() - Method in class org.mule.munit.mock.MockModule
 
MockingValidator - Class in org.mule.munit.mock.interception
The class validates if a location should or should not be mocked.
MockingValidator(ComponentLocation) - Constructor for class org.mule.munit.mock.interception.MockingValidator
 
MockModule - Class in org.mule.munit.mock
MUnit module for mocking processors.
MockModule() - Constructor for class org.mule.munit.mock.MockModule
 
MockXmlNamespaceInfoProvider - Class in org.mule.munit.mock.config
Provides the mock namespace
MockXmlNamespaceInfoProvider() - Constructor for class org.mule.munit.mock.config.MockXmlNamespaceInfoProvider
 
moduleObject - Variable in class org.mule.munit.mock.processors.AbstractMockProcessor
 
muleContext - Variable in class org.mule.munit.mock.MockModule
 
muleContext - Variable in class org.mule.munit.mock.processors.AbstractMockProcessor
 
muleContext - Variable in class org.mule.munit.mock.tool.AbstractMockingTool
 
MunitProcessorInterceptor - Class in org.mule.munit.mock.interception
It's the actual MUnit Interceptor called before, during and after the execution of each processor.
MunitProcessorInterceptor() - Constructor for class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
MunitProcessorInterceptorFactory - Class in org.mule.munit.mock.interception
The goal of this class is to define if a processor should be intercepted.
MunitProcessorInterceptorFactory() - Constructor for class org.mule.munit.mock.interception.MunitProcessorInterceptorFactory
 

N

NAME_SPACE - Static variable in class org.mule.munit.mock.config.MockXmlNamespaceInfoProvider
 
NON_MOCKABLE_CORE_PROCESSORS - Static variable in class org.mule.munit.mock.interception.MockingValidator
 

O

ofNamespace(String) - Method in class org.mule.munit.mock.tool.ProcessorMocker
Defines the namespace of the processor to be mocked
ofNamespace(String) - Method in class org.mule.munit.mock.tool.spy.Spy
Defines the namespace of the message processor to spy
ofNamespace(String) - Method in class org.mule.munit.mock.tool.verify.Verifier
Defines the namespace of the processor to verify call
org.mule.munit.mock - package org.mule.munit.mock
 
org.mule.munit.mock.behavior - package org.mule.munit.mock.behavior
 
org.mule.munit.mock.config - package org.mule.munit.mock.config
 
org.mule.munit.mock.interception - package org.mule.munit.mock.interception
 
org.mule.munit.mock.processors - package org.mule.munit.mock.processors
 
org.mule.munit.mock.tool - package org.mule.munit.mock.tool
 
org.mule.munit.mock.tool.spy - package org.mule.munit.mock.tool.spy
 
org.mule.munit.mock.tool.verify - package org.mule.munit.mock.tool.verify
 

P

process(InternalEvent) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
Executes the message processor code.
process(InternalEvent) - Method in class org.mule.munit.mock.tool.spy.SpyProcessContainer
 
processor - Variable in class org.mule.munit.mock.processors.AbstractMockProcessor
 
PROCESSOR_NAME - Static variable in class org.mule.munit.mock.processors.SpyProcessor
 
processorAttributes - Variable in class org.mule.munit.mock.tool.AbstractMockingTool
 
processorCall - Variable in class org.mule.munit.mock.behavior.Behavior
 
ProcessorMocker - Class in org.mule.munit.mock.tool
Mocking Tool to create processor mocks.
ProcessorMocker(MuleContext) - Constructor for class org.mule.munit.mock.tool.ProcessorMocker
 
processorName - Variable in class org.mule.munit.mock.tool.AbstractMockingTool
 
processorNamespace - Variable in class org.mule.munit.mock.tool.AbstractMockingTool
 

R

reset() - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 

S

setAssertionsAfterCall(MessageProcessorChain) - Method in class org.mule.munit.mock.processors.SpyProcessor
Sets assertionsAfterCall
setAssertionsBeforeCall(MessageProcessorChain) - Method in class org.mule.munit.mock.processors.SpyProcessor
Sets assertionsBeforeCall
setBehaviorManager(BehaviorManager) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptorFactory
 
setErrorTypeRepository(ErrorTypeRepository) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
setErrorTypeRepository(ErrorTypeRepository) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptorFactory
 
setManager(BehaviorManager) - Method in class org.mule.munit.mock.interception.MunitProcessorInterceptor
 
setModuleObject(Object) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
setMuleContext(MuleContext) - Method in class org.mule.munit.mock.MockModule
 
setMuleContext(MuleContext) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
setProcessor(String) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
setProcessors(List<Processor>) - Method in class org.mule.munit.mock.behavior.SpyBehavior
 
setWithAttributes(List<Attribute>) - Method in class org.mule.munit.mock.processors.AbstractMockProcessor
 
SPY - Static variable in class org.mule.munit.mock.config.MockComponentBuildingDefinitionProvider
 
spy(String, List<Attribute>, MessageProcessorChain, MessageProcessorChain) - Method in class org.mule.munit.mock.MockModule
Define what the mock must return on a processor call.
spy() - Method in class org.mule.munit.mock.MockModule
 
Spy - Class in org.mule.munit.mock.tool.spy
This class is a Munit Tool to create processor spiers
Spy(MuleContext) - Constructor for class org.mule.munit.mock.tool.spy.Spy
 
spy(Event) - Method in interface org.mule.munit.mock.tool.spy.SpyProcess
Executes code in the spying process
spy(Event) - Method in class org.mule.munit.mock.tool.spy.SpyProcessImpl
 
SpyBehavior - Class in org.mule.munit.mock.behavior
Represents a behavior to be executed before/after a processor call.
SpyBehavior(ProcessorCall, List<Processor>) - Constructor for class org.mule.munit.mock.behavior.SpyBehavior
 
SpyProcess - Interface in org.mule.munit.mock.tool.spy
if you want to spy something this is the method that you need to implement
SpyProcessContainer - Class in org.mule.munit.mock.tool.spy
Container that has all the SpyProcess to process the Event
SpyProcessContainer(List<SpyProcess>) - Constructor for class org.mule.munit.mock.tool.spy.SpyProcessContainer
 
SpyProcessImpl - Class in org.mule.munit.mock.tool.spy
Simple implementation of SpyProcess, who knows to process each of the contained processors.
SpyProcessImpl(MessageProcessorChain) - Constructor for class org.mule.munit.mock.tool.spy.SpyProcessImpl
 
SpyProcessor - Class in org.mule.munit.mock.processors
Spy Processor
SpyProcessor() - Constructor for class org.mule.munit.mock.processors.SpyProcessor
 
spyProcessor(String) - Method in class org.mule.munit.mock.tool.spy.Spy
Defines the name of the processor to spy
SpyProcessorContainer - Interface in org.mule.munit.mock.tool.spy
This interface is to be implemented by those who also implements SpyProcess The goal is to provide a way to know if the spy itself contains any kind of processor.

T

thenReturn(Event) - Method in class org.mule.munit.mock.tool.ProcessorMocker
Defines what Event to return after the processor call
thenReturnSameEvent() - Method in class org.mule.munit.mock.tool.ProcessorMocker
Determines that the mocked processor must return the same event as before its call.
times(Integer) - Method in class org.mule.munit.mock.tool.verify.Verifier
The times it must be called

V

verifier() - Method in class org.mule.munit.mock.MockModule
 
Verifier - Class in org.mule.munit.mock.tool.verify
The goal of this class is to validate the execution of a processor
Verifier(MuleContext) - Constructor for class org.mule.munit.mock.tool.verify.Verifier
 
verifyCall(String, List<Attribute>, Integer, Integer, Integer) - Method in class org.mule.munit.mock.MockModule
Check that the processor was called with some specified parameters
verifyCallOfProcessor(String) - Method in class org.mule.munit.mock.tool.verify.Verifier
Defines the name of the processor to verify call

W

when(String, List<Attribute>, Event) - Method in class org.mule.munit.mock.MockModule
Define what the mock must return on a message processor call.
when(String) - Method in class org.mule.munit.mock.tool.ProcessorMocker
Defines the name of the processor to be mocked
withAttributes - Variable in class org.mule.munit.mock.processors.AbstractMockProcessor
 
withAttributes(Map<String, Object>) - Method in class org.mule.munit.mock.tool.ProcessorMocker
Defines the attributes of the processor to be mocked
withAttributes(Map<String, Object>) - Method in class org.mule.munit.mock.tool.spy.Spy
Defines the attributes of the processor to spy
withAttributes(Map<String, Object>) - Method in class org.mule.munit.mock.tool.verify.Verifier
Defines the attributes of the processor to verify call
A B C D E F G I M N O P R S T V W 
Skip navigation links

Copyright © 2017. All rights reserved.