public void TestGenerateGenericReturnValue() { MethodInfo method = typeof(MethodTestClass).GetMethod("GenericMethod"); ReturnValue val = gen.GenerateReturnValue(method); Assert.AreEqual(ReturnModifier.None, val.Modifier); docUtility.DidNotReceiveWithAnyArgs().MakeMemberRef(null); Assert.AreEqual(true, val.IsGenericType); Assert.AreEqual(0, val.GenericTypePosition); }