FixtureResultList
Collecting parameter.
Instantiate using FixtureScripts#newExecutionContext(String)
API
FixtureResultList.java
class FixtureResultList {
FixtureResultList(FixtureScripts fixtureScripts, FixtureScript.ExecutionContext executionContext)
T add(FixtureScript script, T object)
T add(FixtureScript fixtureScript, String key, T object) (1)
List<FixtureResult> getResults()
String nextItemFor(FixtureScript script)
T lookup(String key, Class<T> cls)
}
1 | add(FixtureScript, String, T)
Wraps the object within a FixtureResult and add to this list. |
Members
add(FixtureScript, String, T)
Wraps the object within a FixtureResult and add to this list.
If the object is not yet persisted, then the FixtureScripts#getNonPersistedObjectsStrategy() FixtureScripts ' configuration will determine whether it is FixtureScripts.NonPersistedObjectsStrategy#PERSIST eagerly persisted or simply FixtureScripts.NonPersistedObjectsStrategy#IGNORE ignored .