* The defined tree must be validated before using it
* @param specTree The tree that will represent this spec
*/
public void populate(SpecTree specTree) {
this.specTree = specTree;
SpecGroup rootGroup = this.specTree.getRootGroup();
Variable<TestContext> sharedContext = this.specTree.getSharedContext();
this.stack = SpecStack.create(rootGroup, sharedContext);
Class<T> expectedContextType = this.getContextTypeFromSubclassDeclaration();
this.typedContext = TypedContextFactory.createInstanceOf(expectedContextType, sharedContext);
this.define();