public void MyTestCleanup() { mockBingoCard = null; mockBingoEvaluator = null; bingoGame = null; target = null; }
public void MyTestInitialize() { mockBingoEvaluator = new Mock<IBingoEvaluator>(); mockBingoCard = new Mock<IBingoCard>(); mockBingoService = new Mock<IBingoService>(); bingoGame = new BingoGamePresenter(mockBingoService.Object); target = new MainPresenter(); }
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(); }