1.

Using which annotation non visible or private method can be tested?(a) @VisibleForTesting(b) @NonVisibleForTesting(c) @Visible(d) @NonVisible

Answer» Right choice is (a) @VisibleForTesting

The explanation: Using @VisibleForTesting annotation private or non visible method can be tested.


Discussion

No Comment Found

Related InterviewSolutions