BuilderScriptAbstract

A specialization of FixtureScript that is intended to be used to setup the state of a PersonaWithBuilderScript .

The PersonaWithBuilderScript represents the "what", in other words the raw data, while the BuilderScriptAbstract represents the "how-to".

API

BuilderScriptAbstract.java
class BuilderScriptAbstract<T> {
  BuilderScriptAbstract<T> build(final FixtureScript parentFixtureScript, final ExecutionContext executionContext)
  T objectFor(final PersonaWithBuilderScript<BuilderScriptAbstract<T>> persona, final ExecutionContext executionContext)
  T findUsing(final PersonaWithFinder<T> persona)
}