public void UseLoginInitializesLogin() { CoreBuilder coreBuilder = new CoreBuilder(new Core()); coreBuilder.UseLogin <MockLoginHandler>(); 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.Not.Null); Assert.That(coreBuilder.Info.LoginHandler, Is.TypeOf <MockLoginHandler>()); Assert.That(coreBuilder.Info.ThemeData, Is.Null); }