String methodName = method.getMethodName();
String clazzName = method.getRealClass().getName();
methods.add(new MethodTestDto(methodName, clazzName, status, duration, groups));
if (groups == null) {
UserGroupDto userDto = getUserGroupDto(MethodTestDto.UN_GROUP_NAME);
userDto.addResult(status);
return;
}
for (String group : groups) {
UserGroupDto userDto = getUserGroupDto(group);
userDto.addResult(status);
}
}