field.setAccessible(true);
}
final StepDefinition stepDefinition = StepDefinition.class.cast(field.get(match));
if (ArquillianStepDefinition.class.isInstance(stepDefinition)) {
final ArquillianStepDefinition arquillianStepDefinition = ArquillianStepDefinition.class.cast(stepDefinition);
event = new TestEvent(arquillianStepDefinition.getInstance(), arquillianStepDefinition.getMethod());
} else {
throw new IllegalStateException("Can't find ArquillianStepDefinition");
}
} catch (final Exception e) {
throw new IllegalStateException(e);