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