public ScenarioClass(AAAMemento semanticModelState) { this.semanticModel = new AAA(semanticModelState); this.semanticModelState = semanticModelState; this.scenario = new Semantics(this, semanticModel); this.specGenerator = new TextSpecGenerator(); this.metadataParser = new TestMetadataParser(this); semanticModelState.Text = metadataParser.TranslateTestClassNameToText(); }
public static ScenarioSpecialCase New(Object test, Action<Semantics> action) { var metadataParser = new TestMetadataParser(test); return New(test, metadataParser.TranslateTestClassNameToText(), action); }