@Test
    public void shouldApplyConfigurationChanges() {
        final CompilerConfiguration configuration = new CompilerConfiguration();

        assertEquals(10, configuration.getTolerance());
        assertNull(configuration.getScriptBaseClass());
        assertEquals(false, configuration.getDebug());

        final ConfigurationGroovyCustomizer provider = new ConfigurationGroovyCustomizer(
                "Tolerance", 3,
                "ScriptBaseClass", "Something",
                "Debug", true);

        provider.applyCustomization(configuration);

        assertEquals(3, configuration.getTolerance());
        assertEquals("Something", configuration.getScriptBaseClass());
        assertEquals(true, configuration.getDebug());
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/ConfigurationCustomizerProviderTest.java