if (testedClazz == null) {
throw new RuntimeException("Current thread hasn't registered tested class!");
}
this.beanFactory = beanFactory;
this.testedClazz = testedClazz;
AutoBeanInject autoBeanInject = AnnotationUtils.getClassLevelAnnotation(AutoBeanInject.class, testedClazz);
this.definitionRegister = new RegisterBeanDefinition(this.beanFactory, autoBeanInject);
}