void () { OverloadedMethodsWithSameNumberOfParametersInspection inspection = new OverloadedMethodsWithSameNumberOfParametersInspection(); inspection.ignoreInconvertibleTypes = false; myFixture.enableInspections(inspection); myFixture.testHighlighting(getTestName(false) + ".java"); }