Package com.tngtech.jgiven
Class Stage<SELF extends Stage<?>>
- java.lang.Object
-
- com.tngtech.jgiven.base.StageBase<SELF>
-
- com.tngtech.jgiven.Stage<SELF>
-
- Type Parameters:
SELF
- the type of the extending class to realize the fluent interface
public class Stage<SELF extends Stage<?>> extends StageBase<SELF>
Base class for Stages. Defines some introduction words. Follows the fluent interface pattern.
-
-
Method Detail
-
given
@IntroWord public SELF given()
-
when
@IntroWord public SELF when()
-
then
@IntroWord public SELF then()
-
and
@IntroWord public SELF and()
-
with
@IntroWord public SELF with()
-
but
@IntroWord public SELF but()
-
comment
@StepComment public SELF comment(java.lang.String comment)
-
-