Thanks for getting in touch - and thanks for the detailed report, this is useful. I am sorry that we are not producing tests for you.
Are you able to attach the Diffblue Cover log file please? And if this is an open-source project it would be helpful for us to see the code, but I understand if that is not possible.
We will do everything we can to get this resolved for you
public class SessionRegistry extends Registry<NetworkSession, Boolean> {
public SessionRegistry() {
super();
}
public void tick() {
getRegistry().keySet().forEach(NetworkSession::tick);
}
public void add(NetworkSession session) {
super.add(session, true);
}
public void remove(NetworkSession session) {
super.remove(session);
}
}
Also, I noticed there is the behavior of these problems for example if I want to generate tests for a basic class that is using only basic things like Strings, Integers, etc, and is not extended or does not have any implementations. Tests are generated successfully. But if I want to generate tests for a class that contains custom objects like NetworkSession or is extended or has some implementations it does not work.
Thanks, @Horizon, I think we understand now what is going on.
There will be a fix in the next release 2021.05.2 expected for 25 May.
Please try that version then and let us know whether it fixed your problem.