public void Test_DefaultError_ShouldLogError() { _errorController.DefaultError(429); _loggerMock.Verify(x => x.LogError( It.IsAny <string>(), It.Is <IDictionary <string, string> >(y => VerifyReExecuteFeatureProperties(y, "429"))), Times.Once); }