Getting Ambiguous method overloading for method org.testng.Assert.assertEquals()
in Groovy version 3.0.19
#3634
Labels
org.testng.Assert.assertEquals()
in Groovy version 3.0.19
#3634
Ambiguous method overloading for method org.testng.Assert#assertEquals. Cannot resolve which method to invoke for [class java.lang.Integer, class java.lang.Integer] due to overlapping prototypes between: [int, class java.lang.Integer] [class java.lang.Integer, int]
Code is -
List listOfClassFields = MyClass.classMethod("CO").read()
Assert.assertEquals(7,listOfClassFields.size())
The text was updated successfully, but these errors were encountered: