1.

How Can We Test Methods Individually Which Are Not Visible Or Declared Private ?

Answer»

We can either INCREASE their visibility and MARK them with annotation @VisibleForTesting or can USE reflection to INDIVIDUALLY TEST those methods.

We can either increase their visibility and mark them with annotation @VisibleForTesting or can use reflection to individually test those methods.



Discussion

No Comment Found