public class ScenarioTestBase<GIVEN,WHEN,THEN> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Scenario<GIVEN,WHEN,THEN> |
scenario |
| Constructor and Description |
|---|
ScenarioTestBase() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
addStage(Class<T> stageClass)
Add a new stage class to the scenario.
|
Scenario<GIVEN,WHEN,THEN> |
createNewScenario()
Creates a new scenario for this test
|
protected Scenario<GIVEN,WHEN,THEN> |
createScenario() |
Scenario<GIVEN,WHEN,THEN> |
getScenario() |
GIVEN |
given() |
THEN |
then() |
WHEN |
when() |
void |
wireSteps(CanWire canWire) |
public GIVEN given()
public WHEN when()
public THEN then()
public void wireSteps(CanWire canWire)
public <T> T addStage(Class<T> stageClass)
stageClass - the class with the step definitionspublic Scenario<GIVEN,WHEN,THEN> getScenario()
Copyright © 2014 TNG Technology Consulting. All rights reserved.