The datawrapper class

All data wrapper objects are created as instances of gw.cucumber.testdata.datawrapper.

The datawrapper class includes the @ScopedScenario annotation. This is a Guice annotation that tells Behavior Testing Framework to create exactly one instance of the class when the scenario is started, to make the instance available throughout the running of the scenario, and then to discard the instance when the scenario is complete. This annotation both ensures the object is available throughout the entire scenario and prevents the object from interfering with subsequent scenarios.