DEV Community

Harit Himanshu
Harit Himanshu

Posted on

How can I test whether a for loop is available in the Class?

Let me explain the use case first.

The use case is that a learner learning java is following a set of written instructions and using automated tests (read JUnit), I want to test whether they have successfully implemented the instruction.

Things that I need to find out programmatically, for…

Top comments (0)