public void AddActivityConsumerObserver_ConsumeObserverConnectorIsNull_ThrowsArgumentNullException() { var exception = Assert.Throws <ArgumentNullException>(() => ConsumeObserverConnectorExtensions.AddActivityConsumerObserver(null)); Assert.Equal("consumeObserverConnector", exception.ParamName); }