Mocking Static methods using Rhino.Mocks
Is it possible to mock a static method using Rhino.Mocks No, it is not possible. TypeMock can do this because it utilizes the CLR profiler to intercept and redirect calls. RhinoMocks, NMock, and Moq cannot do this because these libraries are simpler; they don’t use the CLR profiler APIs. They are simpler in that they … Read more