With dp4j.jar in your project classpath you directly access private members in your tests, w/o Reflection API boilerplate code
public class ContentProducer extends MeaningsDatabase {
private static final ContentProducer instance = new ContentProducer();
private ContentProducer() {
this(defPU);
checkContentStatus();
}
public ContentProducer(String puName) {
super(puName);
}
public static ContentProducer getInstance(){
return instance;
}
...
That's it- se the code above!
African or European swallow?
That ain't that simple...