Timeout while generating the arrange/act section of your test

The below is a simple method to test if a date is in range. While trying to generate junits, I am getting the below error:
Cannot generate essential test for isDateInRange: Timeout while generating the arrange/act section of your test.

public boolean isDateInRange(String entry, Model model) {
boolean a = lessEqualsThan(model.getStartDate(), entry);
boolean b = lessEqualsThan(entry, model.getEndDate());
return a && b;
}

Any ideas ?

Thanks
Venu

Hi Venu - Thanks for sharing some code with us :slight_smile: There could be a number of reasons why test generation can time out. Could you tell us what the constructor and/or static initializer for this class is doing? And also the constructor for Model and model.getEndDate() ?