public void TestStaticInitializeAndDestroyShim()
 {
     Assert.IsFalse(TestShim.Instance.IsInstalled);
     TestShim.Initialize();
     Assert.IsTrue(TestShim.Instance.IsInstalled);
     TestShim.Destroy();
     Assert.IsFalse(TestShim.Instance.IsInstalled);
 }
        static IShim CreateSut(bool?flagIsSupported = null, bool?flagIsInstalled = null)
        {
            var shim = new TestShim();

            if (flagIsSupported.HasValue)
            {
                shim.SetIsSupportedFlag(flagIsSupported.Value);
            }
            if (flagIsInstalled.HasValue)
            {
                shim.SetIsInstalledFlag(flagIsInstalled.Value);
            }
            return(shim);
        }