Skip to main content linkedinfacebooktwittermenuarrow-up

Add interfaces to allow mocking New

I need to do a lot of wrapping in order to unit test a method I’m providing as an event handler for the MailMerge.FieldMerging event.

This would not be necessary if GemBox.Document implemented interfaces for the classes used in this operation.

Add a comment

Please log in or register to submit a comment.

Need a password reminder?