public void OnDeactivateTest()
        {
            SccProviderConnectionOptions target = new SccProviderConnectionOptions();

            MethodInfo      method = typeof(SccProviderConnectionOptions).GetMethod("OnDeactivate", BindingFlags.NonPublic | BindingFlags.Instance);
            CancelEventArgs e      = new CancelEventArgs();

            method.Invoke(target, new object[] { e });
        }
        public void WindowTest()
        {
            SccProviderConnectionOptions target = new SccProviderConnectionOptions();

            PropertyInfo property = typeof(SccProviderConnectionOptions).GetProperty("Window", BindingFlags.NonPublic | BindingFlags.Instance);
            IWin32Window val      = property.GetValue(target, null) as IWin32Window;

            Assert.IsNotNull(val, "The property page control was not created for SccProviderConnectionOptions");
        }