Stage.Delegating, Stage.Factory, Stage.Type| Modifier | Constructor and Description |
|---|---|
protected |
Delegating(Stage stage) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getArgument(int index) |
Config |
getConfig() |
Report |
getReport() |
Statement.Factory |
getStatementFactory() |
com.github.dakusui.jcunit.core.tuples.Tuple |
getTestCaseTuple() |
TestItem |
getTestItem() |
Throwable |
getThrowable()
Returns a throwable object which is thrown and captured in executions of
GIVEN,
WHEN, and THEN stages. |
Stage.Type |
getType() |
<RESPONSE> RESPONSE |
response() |
int |
sizeOfArguments() |
protected Delegating(Stage stage)
public Statement.Factory getStatementFactory()
getStatementFactory in interface Stagepublic com.github.dakusui.jcunit.core.tuples.Tuple getTestCaseTuple()
getTestCaseTuple in interface Stagepublic Stage.Type getType()
public <T> T getArgument(int index)
getArgument in interface Stagepublic int sizeOfArguments()
sizeOfArguments in interface Stagepublic Throwable getThrowable()
StageGIVEN,
WHEN, and THEN stages.
Calling this method in stages except for FAILURE_HANDLING will result in an
IllegalStateException.
getThrowable in interface Stagepublic TestItem getTestItem()
getTestItem in interface StageCopyright © 2017. All rights reserved.