public static void checkJavaInternalAccess(ILogger logger) {
        Map<String, PackageAccessRequirement[]> moduleRequirements = new TreeMap<>();
        moduleRequirements.put("java.base",
                packages(
                        export("jdk.internal.ref"),
                        open("java.lang"),
                        open("sun.nio.ch")
                )
        );
        moduleRequirements.put("jdk.management", getJdkManagementRequirements());
        moduleRequirements.put("java.management", packages(open("sun.management")));
        checkPackageRequirements(logger, moduleRequirements);
    }
@Test
    public void testNoMissingPackageAccessInTestsuite() {
        ILogger logger = mock(ILogger.class);

        checkJavaInternalAccess(logger);

        verify(logger, never()).warning(anyString());
    }