Interface ExecutionHook


  • public interface ExecutionHook
    Wraps common algorithms pre-executed before some methods. This is designed to be used by Junit Rules or Testng Listeners.
    • Method Detail

      • executeMethodHook

        void executeMethodHook​(Method method,
                               Object on,
                               boolean isTest)
        Method to be executed before some other method
        Parameters:
        method - method to be executed after this hook
        on - is an object from which method is invoked
        isTest - is it test method or not