I got fed up of coming across using statements newing up within the statement body and not being able to, or finding it anoyingly complex to Moq. This little snippit of code allows the simple mocking of most using statements.
You can either download, build then add the assebly to your project, or copy the Abstract class file AGXUsingHelper.cs
- Peter Agambar - Initial work - GxSoftware Consultancy Limited
This project is licensed under the MIT License - see the LICENSE.md file for details