public void Test_WithAmbiguousClosedGenericMethodInClosedGenericType_ReturnsFalse() { var methodInOpenGenericTypes = typeof(GenericClass <,>).GetMethods() .Where(mi => mi.Name == "NonGenericMethodOverloadedWithGenericParameterFromTypeAndSameParameterName") .ToArray(); _registry.Register(methodInOpenGenericTypes, typeof(SelectExpressionNode)); var methodCallExpressionInClosedGenericType = (MethodCallExpression)ExpressionHelper.MakeExpression <GenericClass <int, string>, bool> ( l => l.NonGenericMethodOverloadedWithGenericParameterFromTypeAndSameParameterName("string", 1.0)); var result = _registry.IsRegistered(methodCallExpressionInClosedGenericType.Method); Assert.That(result, Is.False); }