private Description findChildForParams(Statement methodInvoker, Description methodDescription) { for (Description child : methodDescription.getChildren()) { InvokeParameterisedMethod parameterisedInvoker = findParameterisedMethodInvokerInChain(methodInvoker); /* if (child.getMethodName().startsWith(parameterisedInvoker.getParamsAsString())) return child; */ int paramsSetInx = parameterisedInvoker.getParamsSetIdx() - 1; if (child.getMethodName().endsWith("[" + paramsSetInx + "]")) return child; } return null; }