public void ThrowsArgumentNullExceptionForNullAction() { var compositeCommand = new CompositeCommand(); ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => compositeCommand.RegisterAction((Action<object>)null)); }