Пример #1
0
 public void MyTestCleanup()
 {
     mockBingoCard = null;
     mockBingoEvaluator = null;
     bingoGame = null;
     target = null;
 }
Пример #2
0
 public void MyTestInitialize()
 {
     mockBingoEvaluator = new Mock<IBingoEvaluator>();
     mockBingoCard = new Mock<IBingoCard>();
     mockBingoService = new Mock<IBingoService>();
     bingoGame = new BingoGamePresenter(mockBingoService.Object);
     target = new MainPresenter();
 }
Пример #3
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            ServiceManager.Instance.Add(typeof(IDialogService), new BingoDialogService());
            IBingoManager client = new BingoService();
            Shell shell = new Shell();
            MainPresenter main = new MainPresenter();
            shell.DataContext = main;
            shell.Show();

        }