String () { String stepName; if (myRealStep instanceof HookTestStep) { stepName = "Hook: " + ((HookTestStep)myRealStep).getHookType().toString(); } else { PickleStepTestStep pickleStep = (PickleStepTestStep)myRealStep; stepName = pickleStep.getStep().getKeyWord() + pickleStep.getStepText(); } return stepName; }