public void ThrowsArgumentNullExceptionForNullCommand() { var compositeCommand = new CompositeCommand(); ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => compositeCommand.UnregisterCommand(null)); }