ExtentionMethods code smell

I’m using hangfire and I’m very pleased how it works.

But for unit testing it is a pain in the ass.

I was very pleased to see interfaces I could mock, but when mocking some methods I got the error of: “not able to mock an extension method”.

I’m not against extension methods but if you see the extension method for an AddOrUpdate for IRecurringJobManager it is just an overload over an overload.

in my opinion it is a code smell and can easily be solved by using an object with default values.

So my feature request => replace the extension methods with an object so the unit testing would be a lot easier and more clear.

Timmy,