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.
Constructor Summary |
Stage()
|
Methods inherited from class com.tngtech.jgiven.base.StageBase |
self |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stage
public Stage()
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()