private void Application_Startup(object sender, StartupEventArgs e) { IIntelClient client = new IntelClient(new PeerResolverService()); main = new MainPresenter(client); Shell shell = new Shell(); shell.DataContext = main; shell.Show(); }
public void MyTestCleanup() { mockIntelClient = null; target = null; }
public void MyTestInitialize() { mockIntelClient = new Moq.Mock<IIntelClient>(); target = new MainPresenter(mockIntelClient.Object); }