@Frutilla( Given = "multiple 'given' sentences", When = "are added to the same 'given' instance variable", Then = "all sentences exist" ) @Test public void testGivenMultipleMultiline() throws Exception { FrutillaParser.Given given = given(GIVEN); given.and(ONE); given.and(TWO); assertHas(ONE); assertHas(TWO); }
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; }    }