To Reproduce
Run UtBot via plugin on the following class
publicclassTest {
publicbooleanfoo(booleanb) {
return !b;
}
}Generated tests looks like
@Test@DisplayName("foo: return !b : False -> return !b")
publicvoidtestFoo_NotB() {
Testtest = newTest();
booleanactual = test.foo(true);
assertFalse(actual);
}Actual behavior
This code does not compile because Test as a name of the class conflicts with a name from JUnit imports org.junit.jupiter.api.Test
To Reproduce
Run UtBot via plugin on the following class
Generated tests looks like
Actual behavior
This code does not compile because
Testas a name of the class conflicts with a name from JUnit importsorg.junit.jupiter.api.Test