Class DualScenarioTestBase<GIVEN_WHEN,​THEN>


  • public abstract class DualScenarioTestBase<GIVEN_WHEN,​THEN>
    extends ScenarioTestBase<GIVEN_WHEN,​GIVEN_WHEN,​THEN>
    ScenarioTest that only takes two type parameters, where the first is used for combined GIVEN and WHEN and the second is used for THEN. This is useful for tests, where you often need to use WHEN steps also in GIVEN statements. This class is typically not directly used by end users, but instead test-framework-specific classes for JUnit or TestNG