Class Mock
java.lang.Object
de.ikor.sip.foundation.testkit.workflow.givenphase.Mock
- Direct Known Subclasses:
ProcessorProxyMock
Parent class for mocks. Different implementations should extend it.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
clear()
Clear previously set behaviour for mock.getId()
abstract void
setBehavior
(TestExecutionStatus testExecutionStatus) Sets mocks behavior
-
Field Details
-
ENDPOINT_ID_EXCHANGE_PROPERTY
- See Also:
-
testName
-
returnExchange
protected org.apache.camel.Exchange returnExchange
-
-
Constructor Details
-
Mock
public Mock()
-
-
Method Details
-
setBehavior
Sets mocks behavior- Parameters:
testExecutionStatus
- that the mock should fill with details of the test run
-
clear
public abstract void clear()Clear previously set behaviour for mock. -
getId
- Returns:
- ID of the Mock
-