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