@TestTransaction in combination with Junit5 @Nested does not roll back
### Describe the bug

In a `@QuarkusTest` placing `@TestTransaction` on methods inside a Junit5 `@Nested` class does not roll back the transaction - the test data stays in the database. Moving the test method out of the `@Nested class` makes it work.

### Expected behavior

_No response_

### Actual behavior

_No response_

### How to Reproduce?

_No response_

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

_No response_

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

2.0.2.Final and latest

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

_No response_

### Additional information

_No response_
diff --git a/extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/WrongAnnotationUsageProcessor.java b/extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/WrongAnnotationUsageProcessor.java
index d7597589eb6..e10d994a4e8 100644
--- a/extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/WrongAnnotationUsageProcessor.java
+++ b/extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/WrongAnnotationUsageProcessor.java
@@ -17,6 +17,7 @@
 import org.jboss.jandex.IndexView;
 
 import io.quarkus.arc.deployment.ValidationPhaseBuildItem.ValidationErrorBuildItem;
+import io.quarkus.arc.processor.Annotations;
 import io.quarkus.arc.processor.DotNames;
 import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
@@ -26,7 +27,8 @@ public class WrongAnnotationUsageProcessor {
 
     @BuildStep
     void detect(ArcConfig config, ApplicationIndexBuildItem applicationIndex, CustomScopeAnnotationsBuildItem scopeAnnotations,
-            TransformedAnnotationsBuildItem transformedAnnotations, BuildProducer<ValidationErrorBuildItem> validationErrors) {
+            TransformedAnnotationsBuildItem transformedAnnotations, BuildProducer<ValidationErrorBuildItem> validationErrors,
+            InterceptorResolverBuildItem interceptorResolverBuildItem) {
 
         if (!config.detectWrongAnnotations) {
             return;
@@ -90,6 +92,14 @@ public String apply(AnnotationInstance annotationInstance) {
                             new IllegalStateException(String.format(
                                     "The %s class %s declares a producer but it must be ignored per the CDI rules",
                                     clazz.nestingType().toString(), clazz.name().toString()))));
+                } else if (Annotations.containsAny(classAnnotations, interceptorResolverBuildItem.getInterceptorBindings())
+                        || Annotations.containsAny(clazz.annotations(),
+                                interceptorResolverBuildItem.getInterceptorBindings())) {
+                    // detect interceptor bindings on nested classes
+                    validationErrors.produce(new ValidationErrorBuildItem(
+                            new IllegalStateException(String.format(
+                                    "The %s class %s declares an interceptor binding but it must be ignored per CDI rules",
+                                    clazz.nestingType().toString(), clazz.name().toString()))));
                 }
             }
         }
['extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/WrongAnnotationUsageProcessor.java']