Closed
Description
Description
The engine does not generate any executions for the method that uses a custom class implementing java.util.Collection
and invokes the unoverridden default Collection
's method (like removeIf
) and at the same time somehow uses implemented Collection
method (for example, toArray
from java.util.ArrayList
). It happens because the engine adds 2 opposite type constraints for the collection.
To Reproduce
Enable org.utbot.examples.stream.BaseStreamExampleTest#testCustomCollectionStreamExample
test and run it.
Expected behavior
Passed test with passed matchers.
Actual behavior
No executions are generated.
Visual proofs (screenshots, logs, images)
Environment
useConcreteExecution
= true
Additional context
Not applicable.
Metadata
Metadata
Assignees
Type
Projects
Status
Done