@Test
public void testJava() throws Exception {

	GeneralScriptHandler handler = createHandler();
	
	Input<JsonObject> input = new Input<>();
	input.setFunction("MyKeyword1");
	HashMap<String, String> properties = new HashMap<>();
	properties.put(ScriptHandler.SCRIPT_LANGUAGE, "java");
	properties.put(ScriptHandler.SCRIPT_FILE+".id", "java-plugin-handler-test.jar");
	properties.put(ScriptHandler.SCRIPT_FILE+".version", "");
	input.setProperties(properties);
	
	Output<JsonObject> output = handler.handle(input);
	Assert.assertEquals("MyValue", output.getPayload().getString("MyKey"));
}