What would be the recommended approach for unit testing a new JobFilterAttribute?
I have the need to inject dependencies into a job filter that implements both the IServerFilter and IElectStateFilter interfaces and wanted to make sure that these are being called using MOQ (the scenario would just verify that the methods are being called).
However the different contexts that are used on the interfaces only provide an internal constructor so I cannot mock them.
I’d love to hear your feedback. Thanks in advance!