@Test
    public void shouldAddBindingsForFileSystem() {
        final GremlinScriptEngineManager manager = new DefaultGremlinScriptEngineManager();
        manager.addPlugin(HadoopGremlinPlugin.instance());
        final GremlinScriptEngine engine = manager.getEngineByName(MockGremlinScriptEngineFactory.ENGINE_NAME);
        final Bindings b = engine.getBindings(ScriptContext.GLOBAL_SCOPE);
        assertThat(b.containsKey("hdfs"), is(true));
        assertThat(b.containsKey("fs"), is(true));
        assertThat(b.get("hdfs"), instanceOf(FileSystemStorage.class));
        assertThat(b.get("fs"), instanceOf(FileSystemStorage.class));
    }
@author Stephen Mallette (http://stephen.genoprime.com)
hadoop-gremlin/src/test/java/org/apache/tinkerpop/gremlin/hadoop/jsr223/HadoopGremlinPluginTest.java