| JUnit provides a @Before annotation for a setup method in a test class. This method will be called every time before each test case. Avoid code repetition throughout test cases by putting common logic inside this method (instantiation, configurations..) |