public void setup() { context = typeof(child_before).RootContext(); instance = new child_before(); context.Contexts.First().SetInstanceContext(instance); }
public void setup() { parentContext = new ClassContext(typeof(parent_before)); childContext = new ClassContext(typeof(child_before)); parentContext.AddContext(childContext); instance = new child_before(); parentContext.Build(); }