@@ -0,0 +1,920 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage org.scijava.jupyterkernel;%0A%0Aimport javax.script.ScriptEngine;%0Aimport javax.script.ScriptException;%0Aimport org.scijava.Context;%0Aimport org.scijava.script.ScriptLanguage;%0Aimport org.scijava.script.ScriptService;%0A%0A/**%0A *%0A * @author Hadrien Mary%0A */%0Apublic class TestScriptEngine %7B%0A%0A    public static void main(String%5B%5D args) throws ScriptException %7B%0A        // Only for testing purpose%0A%0A        Context context = new Context();%0A        ScriptService scriptService = context.getService(ScriptService.class);%0A        ScriptLanguage scriptLanguage = scriptService.getLanguageByName(%22python%22);%0A        ScriptEngine engine = scriptLanguage.getScriptEngine();%0A%0A        engine.eval(%22print('Hello'%22);%0A%0A        context.dispose();%0A    %7D%0A%0A%7D%0A

Move test code to ... test