@Test
public void test() throws IOException {

	TestFunction f = new TestFunction();
	f.setId(new ObjectId());
	Map<String, String> attributes = new HashMap<>();
	attributes.put(AbstractOrganizableObject.NAME, "moustache");
	f.setAttributes(attributes);
	
	try(Context context = FunctionRunner.getContext(new TestFunctionType())) {
		Output<JsonObject> o = context.run(f, "{}");
		Assert.assertEquals("tache", o.getPayload().getString("mous"));
	}
}