Skip navigation links
A B C E F G I M O R S V 

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
 
asByteArray() - Method in class org.mule.munit.tools.util.MunitResource
 
asReusableStream() - Method in class org.mule.munit.tools.util.MunitResource
 
assertEquals(TypedValue<?>, TypedValue<?>, String, ComponentLocation) - Method in class org.mule.munit.tools.assertion.AssertOperations
Checks if the given actual value is equal to the expected value.
assertExpression(ParameterResolver<MatcherResult>, String, ComponentLocation) - Method in class org.mule.munit.tools.assertion.AssertOperations
Evaluates if the given that assertion expression is successful.
AssertionErrorProvider - Class in org.mule.munit.tools.assertion
ErrorTypeProvider implementation 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<?>, Matcher, String, ComponentLocation) - Method in class org.mule.munit.tools.assertion.AssertOperations
Checks if the expression matches the given is Matcher.
asStream() - Method in class org.mule.munit.tools.util.MunitResource
 
asString(Charset) - Method in class org.mule.munit.tools.util.MunitResource
 

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
 

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 AssertionError with the given message

G

getErrorTypes() - Method in class org.mule.munit.tools.assertion.AssertionErrorProvider
 
getErrorTypes() - Method in class org.mule.munit.tools.util.store.StorageErrorProvider
 
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
 

I

InvalidAssertionExpressionException - Exception in org.mule.munit.tools.assertion
ModuleException when expression inside the assert is invalid
InvalidAssertionExpressionException(String, Throwable) - Constructor for exception org.mule.munit.tools.assertion.InvalidAssertionExpressionException
 

M

MissingKeyException - Exception in org.mule.munit.tools.util.store
ModuleException when 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
 
mockWhen(String, List<Attribute>, Event) - Method in class org.mule.munit.tools.mock.MockOperations
Mocks the processor that has the given withAttributes, replacing it with the given thenReturn Event.
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 in org.mule.munit.tools
ErrorTypeDefinition for 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.store - package org.mule.munit.tools.util.store
 

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.
retrieve(String) - Method in class org.mule.munit.tools.util.store.StorageOperations
Retrieves the value stored for the given key.
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 assertion over the given expression with the parameters params

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
 
spy(String, List<Attribute>, BeforeCall, AfterCall, RouterCompletionCallback) - Method in class org.mule.munit.tools.mock.MockOperations
Spies the processor that has the given withAttributes, executing logic before and after its execution.
StorageErrorProvider - Class in org.mule.munit.tools.util.store
ErrorTypeProvider implementation for operations that throw an INVALID_ASSERTION Error
StorageErrorProvider() - Constructor for class org.mule.munit.tools.util.store.StorageErrorProvider
 
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>) - Method in class org.mule.munit.tools.util.store.StorageOperations
Stores the given value using the given key.

V

valueOf(String) - Static method in enum org.mule.munit.tools.MunitToolsErrorDefinition
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mule.munit.tools.MunitToolsErrorDefinition
Returns an array containing the constants of this enum type, 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 processor that has the given withAttributes has been executed.
A B C E F G I M O R S V 
Skip navigation links

Copyright © 2018 MuleSoft, Inc.. All rights reserved.