public class Verifier extends AbstractMockingTool
muleContext, processorAttributes, processorName, processorNamespace| Constructor and Description |
|---|
Verifier(org.mule.runtime.core.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
atLeast(Integer atLeast)
At least the times it must be called
|
void |
atLeastOnce()
At least one time called
|
void |
atMost(Integer atMost)
At most the times it must be called
|
Verifier |
ofNamespace(String namespace)
Defines the namespace of the processor to verify call
|
void |
times(Integer times)
The times it must be called
|
Verifier |
verifyCallOfProcessor(String name)
Defines the name of the processor to verify call
|
Verifier |
withAttributes(Map<String,Object> attributes)
Defines the attributes of the processor to verify call
|
checkValidQuery, getFullName, getManagerpublic Verifier verifyCallOfProcessor(String name)
name - The name of the processor to verify callpublic Verifier ofNamespace(String namespace)
namespace - The namespace of the processor to verify callpublic Verifier withAttributes(Map<String,Object> attributes)
attributes - a map of attributes name,valuepublic void times(Integer times)
times - The times it must be calledpublic void atLeast(Integer atLeast)
atLeast - At least the times it must be calledpublic void atMost(Integer atMost)
atMost - At most the times it must be calledpublic void atLeastOnce()
Copyright © 2017. All rights reserved.