com.tngtech.jgiven
Class Stage<SELF extends Stage<?>>

java.lang.Object
  extended by com.tngtech.jgiven.base.StageBase<SELF>
      extended by 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()
           
 
Method Summary
 SELF and()
           
 SELF but()
           
 SELF given()
           
 SELF then()
           
 SELF when()
           
 SELF with()
           
 
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
 

Constructor Detail

Stage

public Stage()
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()