Testing a servlet static method not allowed?
- by simpatico
When I try from within JUnit I enter:
public InvocationTargetException(Throwable target) {
super((Throwable)null); // Disallow initCause
this.target = target;
}
I know that I could put that code in an outer class and have servlet call it.