Hi,
We added API to verify static generic methods:
Isolate.Verify.NonPublic.WasCalled(Type type, string methodName, params Type [] methodGenericArguments)
The last parameters is an array of types for the generic method.
Example:
// in code under test
TestPrivates.PrivateStaticGenericMethod<int>()
// in test code.
Isolate.Verify.NonPublic.WasCalled(typeof (TestPrivates), "PrivateStaticGenericMethod", typeof(int));
You can download the patch from
here: