Using which annotation non visible or private method can be tested?
(a) @VisibleForTesting
(b) @NonVisibleForTesting
(c) @Visible
(d) @NonVisible
The question was posed to me in an internship interview.
Question is taken from Annotations topic in section Application Lifecycle & Annotations of Java