Skip navigation links
A B C D 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(Registry) - Constructor for class org.mule.munit.mock.tool.AbstractMockingTool
 
addAfterCallSpyBehavior(SpyBehavior) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
addBeforeCallSpyBehavior(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
 
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
 
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(Chain) - Method in class org.mule.munit.mock.MockModule
 
createSpyBehavior(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
 

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

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
 
getBetterMatchingAfterSpyBehavior(ProcessorCall) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
Gets the best matching After Spy behavior.
getBetterMatchingBeforeSpyBehavior(ProcessorCall) - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
Gets the best matching Before Spy behavior.
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
 
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
 
getProcessorCall() - Method in class org.mule.munit.mock.behavior.Behavior
 
getResult() - Method in class org.mule.munit.mock.tool.spy.SpyResult
 
getSpyProcesses() - Method in class org.mule.munit.mock.behavior.SpyBehavior
 
getThrowable() - Method in class org.mule.munit.mock.tool.spy.SpyResult
 

I

ID - Static variable in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 
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.

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
 
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
 
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

NON_MOCKABLE_CORE_OPERATIONS - 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.interception - package org.mule.munit.mock.interception
 
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

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(Registry) - 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

registry - Variable in class org.mule.munit.mock.MockModule
 
registry - Variable in class org.mule.munit.mock.tool.AbstractMockingTool
 
reset() - Method in class org.mule.munit.mock.behavior.DefaultBehaviorManager
 

S

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
 
setRegistry(Registry) - Method in class org.mule.munit.mock.MockModule
 
setResult(Result) - Method in class org.mule.munit.mock.tool.spy.SpyResult
 
setSpyProcesses(List<SpyProcess>) - Method in class org.mule.munit.mock.behavior.SpyBehavior
 
setThrowable(Throwable) - Method in class org.mule.munit.mock.tool.spy.SpyResult
 
SPECIAL_CORE_OPERATIONS - Static variable in class org.mule.munit.mock.interception.MockingValidator
 
spy(String, List<Attribute>, Chain, Chain) - 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(Registry) - Constructor for class org.mule.munit.mock.tool.spy.Spy
 
spy(CoreEvent) - Method in interface org.mule.munit.mock.tool.spy.SpyProcess
Executes code in the spying process
spy(CoreEvent) - 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<SpyProcess>) - Constructor for class org.mule.munit.mock.behavior.SpyBehavior
 
SpyExecutionException - Exception in org.mule.munit.mock.tool.spy
Represents an exception thrown in a spy
SpyExecutionException(String, Throwable) - Constructor for exception org.mule.munit.mock.tool.spy.SpyExecutionException
 
SpyProcess - Interface in org.mule.munit.mock.tool.spy
if you want to spy something this is the method that you need to implement
SpyProcessImpl - Class in org.mule.munit.mock.tool.spy
Simple implementation of SpyProcess, who knows to process each of the contained processors.
SpyProcessImpl(Chain) - Constructor for class org.mule.munit.mock.tool.spy.SpyProcessImpl
 
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.
SpyResult - Class in org.mule.munit.mock.tool.spy
Model that represents the result of a spy run
SpyResult() - Constructor for class org.mule.munit.mock.tool.spy.SpyResult
 

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(Registry) - 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(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 F G I M N O P R S T V W 
Skip navigation links

Copyright © 2018. All rights reserved.