public void observeBeforeTest(@Observes(precedence = Integer.MAX_VALUE) Before event) {
TestMethodReport testMethodReport = new TestMethodReport();
testMethodReport.setName(event.getTestMethod().getName());
if (event.getTestMethod().isAnnotationPresent(OperateOnDeployment.class)) {
OperateOnDeployment ood = event.getTestMethod().getAnnotation(OperateOnDeployment.class);
testMethodReport.setOperateOnDeployment(ood.value());
} else {
testMethodReport.setOperateOnDeployment("_DEFAULT_");
}
testMethodReport.setRunAsClient(event.getTestMethod().isAnnotationPresent(RunAsClient.class));