public void TestGenerateTypeParams() { MethodBase method = typeof(MethodTestClass).GetMethod("GenericMethod"); var typeParamTypes = method.GetGenericArguments(); methodUtility.GenerateTypeParams(method); docUtility.ReceivedWithAnyArgs().GetTypeParams(typeParamTypes); }