Ejemplo n.º 1
0
        public void OnDisplayChangedTest()
        {
            SecurityModule_Accessor target = null;

            try
            {
                bool eventRaised = false;
                target = new SecurityModule_Accessor();
                target.add_DisplayChanged(delegate { eventRaised = true; });
                target.OnDisplayChanged();
                Assert.IsTrue(eventRaised);
            }
            finally
            {
                if (target != null)
                {
                    target.Dispose();
                }
            }
        }