Class Overview
A AssertModuleLifecycleAdapter is a wrapper around AssertModule that adds lifecycle methods to the pojo.
Summary
|
[Expand]
Inherited Methods |
From class
org.mule.munit.config.AssertModuleCapabilitiesAdapter
|
boolean
|
isCapableOf(Capability capability)
Returns true if this module implements such capability
|
|
From class
org.mule.munit.AssertModule
|
void
|
addExpected(Object value)
Assert module keeps a queue of expected payloads, so you can call assertNotSame and assertOnEquals
inside a inbound flow you created for your tests.
|
|
void
|
assertFalse(String message, Boolean condition)
Check if an expression is false.
|
|
void
|
assertNotNull(String message, Object payload)
Assert for a Not Null payload.
|
|
void
|
assertNotSame(String message, Object expected, Object value)
Assert two objects are not equal
|
|
void
|
assertNull(String message, Object payload)
|
|
void
|
assertOnEquals(String message, Object expected, Object value)
Check that two objects are equal.
|
|
void
|
assertThat(String message, Object payloadIs, Object payload)
Assert that the payload is equal to an expected value.
|
|
void
|
assertTrue(String message, Boolean condition)
Assert for a true expression.
|
|
void
|
fail(String message)
|
|
void
|
resetCalls()
|
|
Object
|
set(Object payload)
Defines the payload for testing.
|
|
NullPayload
|
setNullPayload()
Defines a Null payload for testing.
|
|
void
|
validateCalls()
Checks that all the expected calls to assert has been done
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.mule.api.Capabilities
|
abstract
boolean
|
isCapableOf(Capability arg0)
|
|
From interface
org.mule.api.lifecycle.Disposable
|
From interface
org.mule.api.lifecycle.Initialisable
|
abstract
void
|
initialise()
|
|
From interface
org.mule.api.lifecycle.Startable
|
From interface
org.mule.api.lifecycle.Stoppable
|
Public Constructors
public
AssertModuleLifecycleAdapter
()
Public Methods
public
void
initialise
()