@@ -50,7 +50,7 @@ void testBuild_functionality() throws Exception {
5050 ProblemHighlightType .GENERIC_ERROR :
5151 level == SeverityLevel .MEDIUM ? ProblemHighlightType .WARNING :
5252 ProblemHighlightType .WEAK_WARNING ;
53- when (manager .createProblemDescriptor (eq (psiFile ), any (TextRange .class ), anyString (), eq (expectedType ), eq (isOnTheFly ), any (CxOneAssistFix .class ), any (ViewDetailsFix .class ), any ( IgnoreVulnerabilityFix . class ), any ( IgnoreAllThisTypeFix . class ) )).thenReturn (mock (ProblemDescriptor .class ));
53+ when (manager .createProblemDescriptor (eq (psiFile ), any (TextRange .class ), anyString (), eq (expectedType ), eq (isOnTheFly ), any (CxOneAssistFix .class ), any (ViewDetailsFix .class ))).thenReturn (mock (ProblemDescriptor .class ));
5454 ProblemDescriptor descriptor = (ProblemDescriptor ) buildMethod .invoke (
5555 null , psiFile , manager , scanIssue , document , lineNumber , isOnTheFly );
5656 assertNotNull (descriptor );
@@ -62,7 +62,7 @@ void testBuild_functionality() throws Exception {
6262 when (unknownIssue .getTitle ()).thenReturn ("title" );
6363 when (unknownIssue .getFilePath ()).thenReturn ("file.java" );
6464 when (unknownIssue .getScanEngine ()).thenReturn (ScanEngine .OSS );
65- when (manager .createProblemDescriptor (eq (psiFile ), any (TextRange .class ), anyString (), eq (ProblemHighlightType .WEAK_WARNING ), eq (isOnTheFly ), any (CxOneAssistFix .class ), any (ViewDetailsFix .class ), any ( IgnoreVulnerabilityFix . class ), any ( IgnoreAllThisTypeFix . class ) )).thenReturn (mock (ProblemDescriptor .class ));
65+ when (manager .createProblemDescriptor (eq (psiFile ), any (TextRange .class ), anyString (), eq (ProblemHighlightType .WEAK_WARNING ), eq (isOnTheFly ), any (CxOneAssistFix .class ), any (ViewDetailsFix .class ))).thenReturn (mock (ProblemDescriptor .class ));
6666 ProblemDescriptor unknownDescriptor = (ProblemDescriptor ) buildMethod .invoke (
6767 null , psiFile , manager , unknownIssue , document , lineNumber , isOnTheFly );
6868 assertNotNull (unknownDescriptor );
0 commit comments