diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 8e688e8e3f4..e4a2dcb5312 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -5733,7 +5733,7 @@ A list of the auto-configuration that is enabled by `@DataMongoTest` can be [[boot-features-testing-spring-boot-applications-testing-autoconfigured-neo4j-test]] ==== Auto-configured Data Neo4j tests `@DataNeo4jTest` can be used if you want to test Neo4j applications. By default, it will -use an in-memory embedded Neo4j (if the embedded driver is available), scan for +use an in-memory embedded Neo4j (if the embedded driver is available), scan for `@NodeEntity` classes and configure Spring Data Neo4j repositories. Regular `@Component` beans will not be loaded into the `ApplicationContext`: diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java index 5b0ee1cf7f1..e379718a1f5 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/data/neo4j/DataNeo4jTypeExcludeFilter.java @@ -33,7 +33,7 @@ class DataNeo4jTypeExcludeFilter extends AnnotationCustomizableTypeExcludeFilter private final DataNeo4jTest annotation; - DataNeo4jTypeExcludeFilter(final Class testClass) { + DataNeo4jTypeExcludeFilter(Class testClass) { this.annotation = AnnotatedElementUtils.getMergedAnnotation(testClass, DataNeo4jTest.class); }