示例#1
0
 public void EntryNullArgumentAspectNullTest()
 {
     testClass1          = new MyTestClass();
     testClass1.MyString = null;
     Assert.Throws <ArgumentNullException>(() => testClass1.SomeMethod());
 }
示例#2
0
 public void EntryNullArgumentAspectValidTest()
 {
     testClass1          = new MyTestClass();
     testClass1.MyString = "Hello";
     testClass1.SomeMethod();
 }