Package org.ikasan.testharness.flow
Class FlowTestHarnessImpl
- java.lang.Object
-
- org.ikasan.testharness.flow.FlowTestHarnessImpl
-
- All Implemented Interfaces:
FlowObserver,FlowTestHarness
public class FlowTestHarnessImpl extends java.lang.Object implements FlowObserver, FlowTestHarness
Implementation of the FlowTestHarness as a FlowObserver.- Author:
- Ikasan Development Team
-
-
Constructor Summary
Constructors Constructor Description FlowTestHarnessImpl(FlowExpectation flowExpectation)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertIsSatisfied()Test harness should ensure all specified expectations have been met.<T> voidnotify(T actual)Notification of a behavior in the flow
-
-
-
Constructor Detail
-
FlowTestHarnessImpl
public FlowTestHarnessImpl(FlowExpectation flowExpectation)
Constructor- Parameters:
flowExpectation-
-
-
Method Detail
-
notify
public <T> void notify(T actual)
Notification of a behavior in the flow- Specified by:
notifyin interfaceFlowObserver- Parameters:
actual-
-
assertIsSatisfied
public void assertIsSatisfied()
Description copied from interface:FlowTestHarnessTest harness should ensure all specified expectations have been met.- Specified by:
assertIsSatisfiedin interfaceFlowTestHarness
-
-