IMethodInterceptor is used to alter/modify the list of test methods to be executed by TestNG.
When we implement
IMethodInterceptor interface which has just one method to implement
'intercept(java.util.List, using this method we can reorder the list of test methods and return List of IMethodInstance which TestNG runs. TestNG will now run these test methods in the same order which is found in the returned list.