Question: Using which annotation non visible or private method can be tested?

Options

A : @VisibleForTesting

B : @NonVisibleForTesting

C : @Visible

D : @NonVisible

Click to view Correct Answer

Next

Annotations more questions

Which environment variable is used to specify the path to....

Which file is used to define dependency in maven?

Which file is used to specify the packaging cycle?

Which is the Parent class of annotation class?

Which of below is not a dependency management tool?

Annotations more Online Exam Quiz

Application Lifecycle - Ant, Maven and Jenkins

AutoCloseable, Closeable and Flushable Interfaces

Client and Server

Debugging in Eclipse

Design Patterns