void EnsureSimpleMethodExists(Type type, string methodName, Type[] simpleParams) { Assert.IsNotNull(type.GetMethod(methodName, simpleParams), "Failed to find simple method " + methodName); } }