public class Spy extends AbstractMockingTool
processorAttributes, processorName, processorNamespace, registry| Constructor and Description |
|---|
Spy(org.mule.runtime.api.artifact.Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
Spy |
after(List<SpyProcess> withSpies)
The
SpyProcess to run after the processor |
Spy |
after(SpyProcess... withSpy)
The
SpyProcesses to run after the processor |
Spy |
before(List<SpyProcess> withSpies)
The
SpyProcess to run before the processor |
Spy |
before(SpyProcess... withSpy)
The
SpyProcesses to run before the processor |
protected SpyBehavior |
createSpyBehavior(org.mule.munit.common.behavior.ProcessorCall call,
List<SpyProcess> spyProcesses) |
Spy |
ofNamespace(String namespace)
Defines the namespace of the message processor to spy
|
Spy |
spyProcessor(String name)
Defines the name of the processor to spy
|
Spy |
withAttributes(Map<String,Object> attributes)
Defines the attributes of the processor to spy
|
checkValidQuery, getFullName, getManagerpublic Spy spyProcessor(String name)
name - The name of the processor to spypublic Spy ofNamespace(String namespace)
namespace - The namespace of the message processor to spypublic Spy withAttributes(Map<String,Object> attributes)
attributes - a map of attributes name,valuepublic Spy before(List<SpyProcess> withSpies)
SpyProcess to run before the processorwithSpies - Processes to run before the processor callpublic Spy before(SpyProcess... withSpy)
SpyProcesses to run before the processorwithSpy - Processes to run before the processor callpublic Spy after(List<SpyProcess> withSpies)
SpyProcess to run after the processorwithSpies - Processes to run after the processor callpublic Spy after(SpyProcess... withSpy)
SpyProcesses to run after the processorwithSpy - Processes to run after the processor callprotected SpyBehavior createSpyBehavior(org.mule.munit.common.behavior.ProcessorCall call, List<SpyProcess> spyProcesses)
Copyright © 2020. All rights reserved.