    @Test
    public void testAccepts_IncludedSimpleClassPattern_ExcludedPackagePrefix() {

        Map<String, Object> properties = new HashMap<>();
        properties.put(OASConfig.SCAN_CLASSES, "(?:pkgA.My(Bean|Class))$");
        properties.put(OASConfig.SCAN_EXCLUDE_PACKAGES, "com.example");
        OpenApiConfig config = IndexScannerTestBase.dynamicConfig(properties);
        FilteredIndexView view = new FilteredIndexView(null, config);
        assertTrue(view.accepts(DotName.createSimple("com.example.pkgA.MyBean")));
        assertTrue(view.accepts(DotName.createSimple("com.example.pkgA.MyClass")));
        assertFalse(view.accepts(DotName.createSimple("com.example.pkgA.MyImpl")));
    }