Investigate. Spring unit tests can't support autowired collection #2412
Labels
comp-spring
Issue is related to Spring projects support
comp-symbolic-engine
Issue is related to the symbolic execution engine
ctg-bug
Issue is a bug
Milestone
To Reproduce
Create a project from the following classes:
Try to generate tests for
listSize
method.Expected behavior
nameList
is Autowired collection. We expect to see this in the test class:Actual behavior
Now we don't have Autowired
nameList
collection in the test class.Additional context
The problem is in the following code that does not know that we need to mock current collection
The text was updated successfully, but these errors were encountered: