v1.9.1
New rules:
- PosInfoMoq2009:
Mock.Of<T>
method must be used only to mock non-sealed class. - PosInfoMoq2010:
Mock.Of<T>
method must be used only with types that contains parameterless contructor. - PosInfoMoq2011: Constructor of the mocked class must be accessible.
Improvements/Fixes
- Updates the PosInfoMoq1001 rule to check
Strict
behavior usage for theMock.Of<T>()
method (fixes #27).