Currently, if someone were to use this in their project, there would be no way of stubbing it out in their unit tests. I recommend creating an interface for this and using an instance class that implements the interface. A few static methods that just use a singleton instance could also be provided for people who prefer to use things that way.
Currently, if someone were to use this in their project, there would be no way of stubbing it out in their unit tests. I recommend creating an interface for this and using an instance class that implements the interface. A few static methods that just use a singleton instance could also be provided for people who prefer to use things that way.