private static Class<?>[] enforce(final Class<?>[] unfilteredTestsToExecute, final Class<?>[] unfilteredTestsToEnforce) {
        // Allow env var to filter the test lists.
        final Class<?>[] testsToExecute = filterSpecifiedTests(unfilteredTestsToExecute);
        final Class<?>[] testsToEnforce = filterSpecifiedTests(unfilteredTestsToEnforce);

        // If there are no tests specified to enforce, enforce them all.
        if (null == testsToEnforce) return testsToExecute;

        // examine each test to enforce and ensure an instance of it is in the list of testsToExecute
        final List<Class<?>> notSupplied = Stream.of(testsToEnforce)
                .filter(t -> Stream.of(testsToExecute).noneMatch(t::isAssignableFrom))
                .collect(Collectors.toList());

        if (notSupplied.size() > 0)
            logger.error(String.format("Review the testsToExecute given to the test suite as the following are missing: %s", notSupplied));

        return testsToExecute;
    }
Constructs a Gremlin Test Suite implementation.

@param klass               Required for JUnit Suite construction
@param builder             Required for JUnit Suite construction
@param testsToExecute      The list of tests to execute
@param testsToEnforce      The list of tests to "enforce" such that a check is made to ensure that in this list,
                           there exists an implementation in the testsToExecute (use {@code null} for no
                           enforcement).
@param gremlinFlavorSuite  Ignore validation of {@link Graph.OptIn} annotations which is typically reserved for structure tests
@param traversalEngineType The {@link TraversalEngine.Type} to enforce on this suite
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java