Ejemplo n.º 1
0
 public void MyTestInitialize()
 {
     mockPeerResolution = new Moq.Mock <IPeerResolver>();
     mockIntelService   = new Moq.Mock <IIntelService>();
     target             = new IntelClient(mockPeerResolution.Object, mockIntelService.Object);
     target.Agent       = "agent";
 }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 public void MyTestCleanup()
 {
     target = null;
 }