Description
When we generate a SARIF report for the class with a private function, there is no step (in the analysis steps) for this function from the test file.
To Reproduce
- Run test generation (using any plugin) for the class with private method. For example:
public class Example {
private int invert(int x) {
return 1 / x;
}
}
- Open the SARIF report using VS Code and click to the "Analysis steps"
Expected behavior
There are two steps:

Actual behavior
There is only one step (only a line with an exception in our function)

Additional context
We are trying to find the line in the generated tests with something like <objectName>.<methodName>(<arguments>), but in the case of private functions we have <methodName>Method.invoke(<objectName>, <arguments>)
Description
When we generate a SARIF report for the class with a private function, there is no step (in the analysis steps) for this function from the test file.
To Reproduce
Expected behavior
There are two steps:

Actual behavior
There is only one step (only a line with an exception in our function)

Additional context
We are trying to find the line in the generated tests with something like
<objectName>.<methodName>(<arguments>), but in the case of private functions we have<methodName>Method.invoke(<objectName>, <arguments>)