Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AfterCall - Class in org.mule.munit.tools.mock
-
Represents a route for the after call in the spy operation
- AfterCall() - Constructor for class org.mule.munit.tools.mock.AfterCall
- apply(TestDescription) - Method in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
- asByteArray() - Method in class org.mule.munit.tools.util.MunitResource
- asReusableStream() - Method in class org.mule.munit.tools.util.MunitResource
- assertEquals(TypedValue<Object>, TypedValue<Object>, String, ComponentLocation) - Method in class org.mule.munit.tools.assertion.AssertOperations
-
Checks if the given
actualvalue is equal to theexpectedvalue. - assertExpression(ParameterResolver<Map<String, Object>>, String, ComponentLocation) - Method in class org.mule.munit.tools.assertion.AssertOperations
-
Evaluates if the given
thatassertion expression is successful. - AssertionErrorProvider - Class in org.mule.munit.tools.assertion
-
ErrorTypeProviderimplementation for operations that throw an INVALID_ASSERTION Error - AssertionErrorProvider() - Constructor for class org.mule.munit.tools.assertion.AssertionErrorProvider
- AssertOperations - Class in org.mule.munit.tools.assertion
-
Operations to perform assertions
- AssertOperations() - Constructor for class org.mule.munit.tools.assertion.AssertOperations
- assertThat(TypedValue<Object>, Matcher, String, ComponentLocation) - Method in class org.mule.munit.tools.assertion.AssertOperations
-
Checks if the
expressionmatches the givenisMatcher. - asStream() - Method in class org.mule.munit.tools.util.MunitResource
- asString(Charset) - Method in class org.mule.munit.tools.util.MunitResource
- AttributeListTypeResolver() - Constructor for class org.mule.munit.tools.mock.MockOperations.AttributeListTypeResolver
B
- BeforeCall - Class in org.mule.munit.tools.mock
-
Represents a route for the after call in the spy operation
- BeforeCall() - Constructor for class org.mule.munit.tools.mock.BeforeCall
C
- clearStoredData() - Method in class org.mule.munit.tools.util.store.StorageOperations
-
Removes all stored data
- close() - Method in class org.mule.munit.tools.util.ReusableByteArrayInputStream
- createMessage(Object, String, Object, String) - Static method in class org.mule.munit.tools.util.MuleComponentsFunctions
D
- DEFAULT_QUEUE_NAME - Static variable in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
- dequeue(String, Long, TimeUnit) - Method in class org.mule.munit.tools.util.queue.internal.QueueOperations
-
Pops the given data from a temporary queue.
E
- expressionManager - Variable in class org.mule.munit.tools.assertion.AssertOperations
F
- fail(String) - Method in class org.mule.munit.tools.assertion.AssertOperations
-
Fails with a
AssertionErrorwith the givenmessage
G
- getErrorTypes() - Method in class org.mule.munit.tools.assertion.AssertionErrorProvider
- getErrorTypes() - Method in class org.mule.munit.tools.util.queue.internal.error.QueueErrorTypeProvider
- getErrorTypes() - Method in class org.mule.munit.tools.util.store.RetrieveErrorProvider
- getErrorTypes() - Method in class org.mule.munit.tools.util.store.StoreErrorProvider
- getErrorTypes() - Method in class org.mule.munit.tools.util.store.StoreOAuthTokenErrorProvider
- getResourceAsByteArray(String) - Static method in class org.mule.munit.tools.util.GetResourceFunctions
- getResourceAsReusableStream(String) - Static method in class org.mule.munit.tools.util.GetResourceFunctions
- getResourceAsStream(String) - Static method in class org.mule.munit.tools.util.GetResourceFunctions
- getResourceAsString(String, String) - Static method in class org.mule.munit.tools.util.GetResourceFunctions
- GetResourceFunctions - Class in org.mule.munit.tools.util
-
Utility functions to handle resources
- GetResourceFunctions() - Constructor for class org.mule.munit.tools.util.GetResourceFunctions
- getStaticMetadata() - Method in class org.mule.munit.tools.mock.MockOperations.AttributeListTypeResolver
I
- initialise() - Method in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
- INVALID_ASSERTION - Enum constant in enum class org.mule.munit.tools.MunitToolsErrorDefinition
- INVALID_KEY - Enum constant in enum class org.mule.munit.tools.MunitToolsErrorDefinition
- InvalidAssertionExpressionException - Exception in org.mule.munit.tools.assertion
-
ModuleExceptionwhen expression inside the assert is invalid - InvalidAssertionExpressionException(String) - Constructor for exception org.mule.munit.tools.assertion.InvalidAssertionExpressionException
- InvalidAssertionExpressionException(String, Throwable) - Constructor for exception org.mule.munit.tools.assertion.InvalidAssertionExpressionException
K
- KEY_ALREADY_EXISTS - Enum constant in enum class org.mule.munit.tools.MunitToolsErrorDefinition
- KeyAlreadyExistsException - Exception in org.mule.munit.tools.util.store
-
ModuleExceptionwhen key not found in storage - KeyAlreadyExistsException(String) - Constructor for exception org.mule.munit.tools.util.store.KeyAlreadyExistsException
M
- MISSING_KEY - Enum constant in enum class org.mule.munit.tools.MunitToolsErrorDefinition
- MissingKeyException - Exception in org.mule.munit.tools.util.store
-
ModuleExceptionwhen key not found in storage - MissingKeyException(String) - Constructor for exception org.mule.munit.tools.util.store.MissingKeyException
- MockOperations - Class in org.mule.munit.tools.mock
-
Operations to perform mocking
- MockOperations() - Constructor for class org.mule.munit.tools.mock.MockOperations
- MockOperations.AttributeListTypeResolver - Class in org.mule.munit.tools.mock
-
Definition of the attribute list metadata.
- mockWhen(String, List<Attribute>, Answer, StreamingHelper) - Method in class org.mule.munit.tools.mock.MockOperations
-
Mocks the
processorthat has the givenwithAttributes, replacing it with the givenanswer. - MuleComponentsFunctions - Class in org.mule.munit.tools.util
-
Utility functions to handle mule resources
- MuleComponentsFunctions() - Constructor for class org.mule.munit.tools.util.MuleComponentsFunctions
- MunitResource - Class in org.mule.munit.tools.util
-
This is the class returned by the GetResourceFunction.
- MunitResource(String, ClassLoader) - Constructor for class org.mule.munit.tools.util.MunitResource
- MunitTools - Class in org.mule.munit.tools
-
MUnit Tools to perform testing on mule
- MunitTools() - Constructor for class org.mule.munit.tools.MunitTools
- MunitToolsErrorDefinition - Enum Class in org.mule.munit.tools
-
ErrorTypeDefinitionfor Assertion Errors
O
- org.mule.munit.tools - package org.mule.munit.tools
- org.mule.munit.tools.assertion - package org.mule.munit.tools.assertion
- org.mule.munit.tools.mock - package org.mule.munit.tools.mock
- org.mule.munit.tools.util - package org.mule.munit.tools.util
- org.mule.munit.tools.util.queue.api - package org.mule.munit.tools.util.queue.api
- org.mule.munit.tools.util.queue.internal - package org.mule.munit.tools.util.queue.internal
- org.mule.munit.tools.util.queue.internal.error - package org.mule.munit.tools.util.queue.internal.error
- org.mule.munit.tools.util.store - package org.mule.munit.tools.util.store
P
- pop(String, Long) - Method in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
- push(Serializable, String) - Method in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
Q
- queue(TypedValue<Serializable>, String) - Method in class org.mule.munit.tools.util.queue.internal.QueueOperations
-
Pushes the given value to a temporary queue so this can be consumed later on demand
- QUEUE_TIMEOUT - Enum constant in enum class org.mule.munit.tools.MunitToolsErrorDefinition
- QueueErrorTypeProvider - Class in org.mule.munit.tools.util.queue.internal.error
-
ErrorTypeProviderimplementation for queue operations - QueueErrorTypeProvider() - Constructor for class org.mule.munit.tools.util.queue.internal.error.QueueErrorTypeProvider
- queueManager - Variable in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
- QueueOperations - Class in org.mule.munit.tools.util.queue.internal
-
Operations to store values on a temporary queue
- QueueOperations() - Constructor for class org.mule.munit.tools.util.queue.internal.QueueOperations
- QueueTimeOutException - Exception in org.mule.munit.tools.util.queue.internal.error
-
Exception thrown when an
InterruptedExceptionis thrown when performing operations over a queue - QueueTimeOutException() - Constructor for exception org.mule.munit.tools.util.queue.internal.error.QueueTimeOutException
- QueueTimeOutException(String) - Constructor for exception org.mule.munit.tools.util.queue.internal.error.QueueTimeOutException
- QueueTimeOutException(Throwable, String) - Constructor for exception org.mule.munit.tools.util.queue.internal.error.QueueTimeOutException
R
- read() - Method in class org.mule.munit.tools.util.ReusableByteArrayInputStream
- read(byte[], int, int) - Method in class org.mule.munit.tools.util.ReusableByteArrayInputStream
- remove(String) - Method in class org.mule.munit.tools.util.store.StorageOperations
-
Removes the value associated to the given
key. - reset() - Method in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
- resolveCursorProviders(StreamingHelper, Event) - Static method in class org.mule.munit.tools.mock.StreamingUtils
- retrieve(String) - Method in class org.mule.munit.tools.util.store.StorageOperations
-
Retrieves the value stored for the given
key. - RetrieveErrorProvider - Class in org.mule.munit.tools.util.store
-
ErrorTypeProviderimplementation for the retrieve operation - RetrieveErrorProvider() - Constructor for class org.mule.munit.tools.util.store.RetrieveErrorProvider
- ReusableByteArrayInputStream - Class in org.mule.munit.tools.util
-
This is a special implementation of the ByteArrayInputStream.
- ReusableByteArrayInputStream(byte[]) - Constructor for class org.mule.munit.tools.util.ReusableByteArrayInputStream
- ReusableByteArrayInputStream(byte[], int, int) - Constructor for class org.mule.munit.tools.util.ReusableByteArrayInputStream
- runCustom(String, TypedValue<Object>, Object) - Method in class org.mule.munit.tools.assertion.AssertOperations
-
Runs a custom
assertionover the givenexpressionwith the parametersparams
S
- setAssertModule(AssertModule) - Method in class org.mule.munit.tools.assertion.AssertOperations
- setMockModule(MockModule) - Method in class org.mule.munit.tools.mock.MockOperations
- setRegistry(Registry) - Method in class org.mule.munit.tools.mock.MockOperations
- size(String) - Static method in class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
-
Returns the size of the queue associated with the give name.
- sleep(Long, TimeUnit) - Method in class org.mule.munit.tools.util.UtilsOperations
-
Causes the currently executing thread to sleep
- SLEEP_INTERRUPT - Enum constant in enum class org.mule.munit.tools.MunitToolsErrorDefinition
- SleepInterruptedException - Exception in org.mule.munit.tools.util
-
Exception thrown when an
InterruptedExceptionis thrown when performing sleep operation. - SleepInterruptedException() - Constructor for exception org.mule.munit.tools.util.SleepInterruptedException
- spy(String, List<Attribute>, BeforeCall, AfterCall, RouterCompletionCallback) - Method in class org.mule.munit.tools.mock.MockOperations
-
Spies the
processorthat has the givenwithAttributes, executing logic before and after its execution. - StorageOperations - Class in org.mule.munit.tools.util.store
-
Operations to store temporary data
- StorageOperations() - Constructor for class org.mule.munit.tools.util.store.StorageOperations
- storageRule - Variable in class org.mule.munit.tools.util.store.StorageOperations
- store(String, TypedValue<Serializable>, boolean) - Method in class org.mule.munit.tools.util.store.StorageOperations
-
Stores the given
valueusing the givenkey. - StoreErrorProvider - Class in org.mule.munit.tools.util.store
-
ErrorTypeProviderimplementation for the store operation - StoreErrorProvider() - Constructor for class org.mule.munit.tools.util.store.StoreErrorProvider
- storeOAuthToken(String, ObjectStore, String, String, String, String, String, Map<String, Object>, boolean) - Method in class org.mule.munit.tools.util.store.StorageOperations
-
Stores a test OAuth token in the supplied ObjectStore
- StoreOAuthTokenErrorProvider - Class in org.mule.munit.tools.util.store
-
Errors for the
store-oauth-tokenoperation - StoreOAuthTokenErrorProvider() - Constructor for class org.mule.munit.tools.util.store.StoreOAuthTokenErrorProvider
- StreamingUtils - Class in org.mule.munit.tools.mock
-
Utility functions to handle streaming
- StreamingUtils() - Constructor for class org.mule.munit.tools.mock.StreamingUtils
T
- temporaryQueueRule - Variable in class org.mule.munit.tools.util.queue.internal.QueueOperations
- TemporaryQueueRule - Class in org.mule.munit.tools.util.queue.api
-
Rule to manage temporary queues
- TemporaryQueueRule() - Constructor for class org.mule.munit.tools.util.queue.api.TemporaryQueueRule
U
- UtilsOperations - Class in org.mule.munit.tools.util
-
UtilsOperations
- UtilsOperations() - Constructor for class org.mule.munit.tools.util.UtilsOperations
V
- valueOf(String) - Static method in enum class org.mule.munit.tools.MunitToolsErrorDefinition
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.mule.munit.tools.MunitToolsErrorDefinition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyCall(String, List<Attribute>, Integer, Integer, Integer) - Method in class org.mule.munit.tools.mock.MockOperations
-
Verifies that the
processorthat has the givenwithAttributeshas been executed.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form