Description description = new Description().withValue(method.getDescription());
TestCaseStartedEvent event = new TestCaseStartedEvent(getSuiteUid(iTestContext), method.getMethodName());
if (description.getValue() != null) {
event.setDescription(description);
}
AnnotationManager am = new AnnotationManager(method.getConstructorOrMethod().getMethod().getAnnotations());
am.setDefaults(method.getInstance().getClass().getAnnotations());
am.update(event);
getLifecycle().fire(event);
getLifecycle().fire(new TestCasePendingEvent());
fireFinishTest();
}
}