FrutillaParser { static void reset() { if (sRoot != null) { sRoot.reset(); sRoot = null; } }    }
@Frutilla( Given = "some sentences added", When = "clear all sentences", Then = "there are no sentences" ) @Test public void testReset() throws Exception { given(GIVEN).and(ONE).when(WHEN).and(TWO).then(THEN).and(THREE); reset(); assertFalse(has(GIVEN)); assertFalse(has(WHEN)); assertFalse(has(THEN)); assertFalse(has(ONE)); assertFalse(has(TWO)); assertFalse(has(THREE)); }