Jenifer Rajakumar wrote:My code was my junit code
Just to add to what Andrew he pointed you...
Exception trace has given you a message;
Method testGetInitiateSearchEntities should be public , and I believe it is detailed enough.
Also if you look at the
getInitiateSearchEntities() and
testGetInitiateSearchEntities() methods, first one has
public, but not the second one. So always make a practice to read the exception content and see whether you can grab something on how to resolve it.