public override void runBeforeEachTest() { contextView = new TestContextView(); context = new TestContext( contextView ); actor = new TestActor() injector = context.getInjector() UIImpersonator.addChild( contextView ); injector.injectInto( actor ); }
public void RunBeforeEachTest() { contextView = new TestContextView(); context = new Robotlegs.Mvcs.Support.TestContext( contextView ); actor = new TestActor(); injector = context.GetInjector(); TestPanel.Children.Add( contextView ); injector.InjectInto( actor ); }