No assert in test for method which returns Exception object #1870
Labels
comp-codegen
Issue is related to code generator
ctg-bug
Issue is a bug
lang-java
Issue is related to Java support
Description
Some tests don't contain any assertions, even though we could try to compare returned Exception object.
To Reproduce
Steps to reproduce the behavior:
org.utbot.examples.exceptions.ExceptionExamples#createException
methodExpected behavior
Tests are supposed to have assertions.
Actual behavior
Generated test has no assertion.
Visual proofs (screenshots, logs, images)
Additional context
IllegalArgumentException
in user code has a message, so it least we could compare that text with generated one.The text was updated successfully, but these errors were encountered: