예제 #1
0
 public void CallBase_Abstract()
 {
     Assert.That(
         () => _context.CallBase(ReflectionObjectMother.GetSomeAbstractMethod()),
         Throws.ArgumentException
         .With.ArgumentExceptionMessageEqualTo(
             "Cannot perform base call on abstract method.", "baseMethod"));
 }
예제 #2
0
 public void CallBase_Abstract()
 {
     _context.CallBase(ReflectionObjectMother.GetSomeAbstractMethod());
 }