Exemple #1
0
 public void GetPreferredInstance_WithEmptyAutoStartAndMultipleInstances_ReturnsNull()
 {
     using (var tidy2 = new DisposableKSP())
     {
         win32_reg.Instances.Add(new Tuple <string, string>("tidy2", tidy2.KSP.GameDir()));
         manager.LoadInstancesFromRegistry();
         manager.ClearAutoStart();
         Assert.That(manager.GetPreferredInstance(), Is.Null);
     }
 }