private ThrowsArgumentNullExceptionForNullAction ( ) : void | ||
return | void |
public void ThrowsArgumentNullExceptionForNullAction()
{
var compositeCommand = new CompositeCommand();
ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => compositeCommand.UnregisterAction((Action<object>)null));
}