### Question:
Neo4jAuditingRegistrar extends AuditingBeanDefinitionRegistrarSupport { @Override public void registerBeanDefinitions(AnnotationMetadata annotationMetadata, BeanDefinitionRegistry registry) { Assert.notNull(annotationMetadata, "AnnotationMetadata must not be null!"); Assert.notNull(registry, "BeanDefinitionRegistry must not be null!"); super.registerBeanDefinitions(annotationMetadata, registry); }  @Override void registerBeanDefinitions(AnnotationMetadata annotationMetadata, BeanDefinitionRegistry registry);  }### Answer:
@Test public void rejectsNullAnnotationMetadata() { assertThatIllegalArgumentException() .isThrownBy(() -> registrar.registerBeanDefinitions(null, registry)); }
@Test public void rejectsNullBeanDefinitionRegistry() { assertThatIllegalArgumentException() .isThrownBy(() -> registrar.registerBeanDefinitions(metadata, null)); }