Пример #1
0
        public void TestCheckUnlocked1()
        {
            OurToolboxItem item = new OurToolboxItem();

            item.Lock();
            item._CheckUnlocked();
        }
 public void TestCheckUnlocked1()
 {
     Assert.Throws <InvalidOperationException>(() =>
     {
         OurToolboxItem item = new OurToolboxItem();
         item.Lock();
         item._CheckUnlocked();
     });
 }
Пример #3
0
		public void TestCheckUnlocked1 ()
		{
			OurToolboxItem item = new OurToolboxItem ();
			item.Lock ();
			item._CheckUnlocked ();
		}