@Frutilla( Given = { "all kind of sentences", "BUT starting with 'given'" }, When = "are added", Then = "all exist" ) @Test public void testAllTogetherStartingWithGiven() throws Exception { given(GIVEN).and(ONE).when(WHEN).and(TWO).then(THEN).and(THREE); assertHas(GIVEN); assertHas(WHEN); assertHas(THEN); assertHas(ONE); assertHas(TWO); assertHas(THREE); }
static Given given(String text) { reset(); final Given given = new Given(text); sRoot = given; return given; }
FrutillaParser { static Given given(String text) { reset(); final Given given = new Given(text); sRoot = given; return given; } }
FrutillaParser { static Given given(String text) { reset(); final Given given = new Given(text); sRoot = given; return given; }  }
FrutillaParser { static Given given(String text) { reset(); final Given given = new Given(text); sRoot = given; return given; }   }
FrutillaParser { static Given given(String text) { reset(); final Given given = new Given(text); sRoot = given; return given; }    }