public void ManualStartupWithViewComponentAfterAddedToStage()
{
contextView = new TestContextView();
context = new Robotlegs.Mvcs.Support.TestContext( contextView, false );
contextView.Loaded += (o, e) =>
{
Assert.IsFalse( context.StartupComplete, "Context should not be started" );
context.Startup();
Assert.IsTrue( context.StartupComplete, "Context should now be started" );
EnqueueTestComplete();
};
Assert.IsFalse( context.StartupComplete, "Context should not be started" );
TestPanel.Children.Add( contextView );
}