get hook-methods only if a testcase will run
Merge pull request #1190 from hpbuniat/fix-gethookmethod-with-dataprovider-4.0

Get hook-methods only if a testcase will run