This inspection reports any instances of JUnit 4.0 @BeforeClass or @AfterClass method is not declared public static, does not return void, or takes arguments. Such methods are easy to create inadvertantly, and will not be executed by JUnit tests runners.
Powered by InspectionGadgets