示例#1
0
 protected object InvokeVisitMethod(string methodName, object argument)
 {
     return(_visitorMock.GetType().GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance).Invoke(_visitorMock, new[] { argument }));
 }