Пример #1
0
        public void UseUIInitializesUI()
        {
            CoreBuilder coreBuilder = new CoreBuilder(new Core());

            coreBuilder.UseUI <MockUIBuilder>();
            coreBuilder.BuildCore();

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