GIVEN_WHEN
- the combined GIVEN and WHEN stageTHEN
- the THEN stage@ExtendWith(value=JGivenExtension.class) public class DualScenarioTest<GIVEN_WHEN,THEN> extends com.tngtech.jgiven.base.DualScenarioTestBase<GIVEN_WHEN,THEN>
SimpleScenarioTest
class.
If you don't want to inherit from any class you can just use the JGivenExtension
directly.JGivenExtension
,
SimpleScenarioTest
Constructor and Description |
---|
DualScenarioTest() |
Modifier and Type | Method and Description |
---|---|
com.tngtech.jgiven.impl.Scenario<GIVEN_WHEN,GIVEN_WHEN,THEN> |
getScenario() |
public com.tngtech.jgiven.impl.Scenario<GIVEN_WHEN,GIVEN_WHEN,THEN> getScenario()
getScenario
in class com.tngtech.jgiven.base.ScenarioTestBase<GIVEN_WHEN,GIVEN_WHEN,THEN>