The TestNG documentation says this:
The @Test annotation can be put on a class instead of a test method. The effect of a class level @Test annotation is to make all the public methods of this class to become test methods even if they are not annotated.
Is it possible for a class with an @Test annotation to implement IHookable? Because run(IHookCallBack callBack, ITestResult testResult) is public, TestNG tries unsuccessfully to run it as a test method.
Is there a way to tell TestNG to ignore this method?