Beispiel #1
0
        public void MainWindowInitializesMainWindow()
        {
            CoreBuilder coreBuilder = new CoreBuilder(new Core());

            coreBuilder.MainWindow <Window>();
            coreBuilder.BuildCore();

            Assert.That(coreBuilder.Info.AppCultureInfo, Is.Null);
            Assert.That(coreBuilder.Info.MainViewModel, Is.Null);
            Assert.That(coreBuilder.Info.MainWindow, Is.Not.Null);
            Assert.That(coreBuilder.Info.MainWindow, Is.EqualTo(typeof(Window)));
            Assert.That(coreBuilder.Info.LoginHandler, Is.Null);
            Assert.That(coreBuilder.Info.ThemeData, Is.Null);
        }